[]
        
(Showing Draft Content)

C1.Win.TreeView.C1TreeColumn

C1TreeColumn Class

Represents a column of a C1TreeView.

Inheritance
C1TreeColumn
Implements
Namespace: C1.Win.TreeView
Assembly: C1.Win.TreeView.8.dll
Syntax
public class C1TreeColumn : ICloneable

Constructors

Name Description
C1TreeColumn()

Initializes a new instance of the C1TreeColumn class.

C1TreeColumn(string)

Initializes a new instance of the C1TreeColumn class.

C1TreeColumn(string, string)

Initializes a new instance of the C1TreeColumn class.

C1TreeColumn(string, string, string)

Initializes a new instance of the C1TreeColumn class.

Properties

Name Description
AutoWidth

Gets or sets a value indicating whether the column width should be set automatically by content width.

CustomContentPresenter

Gets or sets a custom element that displays content of cells of this column.

DataMap

Gets or sets an IDictionary used to associate cell values with display values in the ComboBox editor.

DisplayFieldName

Gets or sets the list of fields to be displayed in the column depending on the level of the node.

DisplayFormat

Gets or sets the format string used to display the value when the node cell is not in edit mode.

DisplayMemberPath

Gets a collection that identifies the fields to be displayed in the column depending on the level of the node.

EditFormat

Gets or sets the format string used to display the value when the control is in edit mode.

Editor

Gets or sets the custom editor of node.

EditorType

Gets or sets the type of node editor.

ExpressionInfo

Contains information about an expressions.

HeaderText

Gets or sets the text of header of the column of tree in the C1TreeView control.

IsTypedEditor

Gets or sets a value indicating the need to use a cell type to determine the type of the editor.

Name

Gets or sets the name of the column of tree in the C1TreeView control.

Styles

Gets or sets the styles of the TreeColumn.

Visible

Gets or sets a value indicating whether the tree node is in the visible state.

Width

Gets or sets the width of the TreeColumn.

Methods

Name Description
OnAutoWidthChanged(EventArgs)

Fires the AutoWidthChanged event.

OnCustomContentPresenterChanged(EventArgs)

Fires the CustomContentPresenterChanged event.

OnDisplayFieldNameChanged(EventArgs)

Fires the DisplayFieldNameChanged event.

OnEditorTypeChanged(EventArgs)

Fires the OnEditorTypeChanged event.

OnHeaderTextChanged(EventArgs)

Fires the HeaderTextChanged event.

OnStylesChanged(EventArgs)

Fires the StylesChanged event.

OnVisibleChanged(EventArgs)

Fires the VisibleChanged event.

OnWidthChanged(EventArgs)

Fires the WidthChanged event.

ResetExpressionInfo()
ResetStyles()

Resets the Styles property to its default value.

ShouldSerializeExpressionInfo()
ShouldSerializeStyles()

Events

Name Description
AutoWidthChanged

Occurs when the column AutoWidth changed.

DisplayFieldNameChanged

Occurs when the list of fields to be displayed in the column changed.

EditorTypeChanged

Occurs when the column EditorType changed.

ExpressionChanged

Occurs when the column ExpressionChanged changed.

HeaderTextChanged

Occurs when the text of header of the column changed.

StylesChanged

Occurs when the column styles changed.

VisibleChanged

Occurs when the column visible changed.

WidthChanged

Occurs when the column width changed.