[]
        
(Showing Draft Content)

C1.Win.TreeView.C1TreeNode

C1TreeNode Class

Represents a node of a C1TreeView.

Inheritance
C1TreeNode
Implements
Namespace: C1.Win.TreeView
Assembly: C1.Win.TreeView.8.dll
Syntax
[TypeConverter(typeof(C1TreeNodeConverter))]
public class C1TreeNode : ICloneable

Constructors

Name Description
C1TreeNode()

Initializes a new instance of the C1TreeNode class.

C1TreeNode(object)

Initializes a new instance of the C1TreeNode class.

Properties

Name Description
CheckState

Gets or sets the state of the tree node checkbox.

Checked

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

Enabled

Gets or sets a value indicating whether this node is enabled.

Expanded

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

HasChildren

Returns true if tree node has child nodes.

Images

Gets the collection of images indices which displayed in node.

this[int]

Gets or sets the value at the specified index.

Level

Gets the zero-based depth of the tree node in the C1TreeView control.

Nodes

Gets the collection of nodes of tree.

ParentCollection

Gets the parent C1TreeNodeCollection.

Selected

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

Tag

Gets or sets the object that contains data about the C1TreeNode.

Methods

Name Description
Check(bool)

Sets the checkbox of tree node to the checked state.

Collapse(bool)

Sets the tree node to the collapsed state.

Expand(bool)

Sets the tree node to the expanded state.

GetValue()

Gets the value of the tree node.

GetValue(int)

Gets the value of the tree node at the specified column.

IsReadOnly(int)

Gets a value indicating whether the contents of the node cell can be changed.

ResetCellStyles(int)

Reset styles of node cell.

ResetEnabled()

Resets the Enabled property to its default value.

ResetStyles()

Reset styles of node.

SetValue(object)

Sets the value of the tree node.

SetValue(object, int)

Sets the value of the tree node at the specified column.

ShouldSerializeEnabled()

Returns true if the Enabled has changed; otherwise, returns false.

Uncheck(bool)

Sets the checkbox of tree node to the unchecked state.