Skip to main content

TreeNode Members

A node displayed within a DXTreeView instance.

Constructors

Name Description
TreeNode() Initializes a new instance of the TreeNode class.
TreeNode(Object) Initializes a new instance of the TreeNode class with specified settings.

Properties

Name Description
HasChildren Gets whether or not the node has a child node(s). Inherited from TreeListNodeBase.
HasVisibleChildren Gets whether the node has a child node(s).
Id Uniquely identifies the current tree node. Inherited from TreeListNodeBase.
IsChecked Gets or sets whether the node is checked. This is a bindable property.
IsChildrenLoaded Gets whether the current node’s children are loaded.
IsExpanded Gets or sets whether the tree view node is expanded. This is a bindable property.
IsFiltered Gets whether the node is filtered or not. Inherited from TreeListNodeBase.
IsFirst Gets whether the node is the first node within the parent node.
IsFirstVisible Gets whether the first node is visible within the parent node.
IsLast Gets whether the node is the last node within the parent node.
IsLastVisible Gets whether the last node is visible within the parent node.
IsSelected Gets whether a node is currently selected.
IsVisible Gets whether the treelist node is visible. Inherited from TreeListNodeBase.
Item Gets or sets a data item of the DXTreeView node. This is a bindable property.
Level Gets the node’s nesting level.
NodeHandle Get a node handle.
Nodes Gets the collection of child nodes.
Parent Gets the parent node.
Root Gets the root node.
Tag Gets or sets the data associated with the node. Inherited from TreeListNodeBase.
TreeView Gets a DXTreeView instance.
VisibleIndex Gets the node’s position within a View among visible nodes. Inherited from TreeListNodeBase.
VisibleLevel Gets the node’s visible level.
VisibleParent Gets the node’s visible parent.

Methods

Name Description
CollapseAll() Collapses all child nodes. Inherited from TreeListNodeBase.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
ExpandAll() Expands all child nodes. Inherited from TreeListNodeBase.
FlattenNodes(Boolean, Boolean, Boolean, Boolean) Returns a plain collection of nodes.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
IsDescendantOf(TreeListNodeBase) Indicates whether the current node belongs to the specified branch node. Inherited from TreeListNodeBase.
LoadChildNodes() Loads child nodes.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.

Events

Name Description
PropertyChanged Occurs every time any of the TreeListNodeBase.Content and TreeListNodeBase.IsExpanded properties have changed their value. Inherited from TreeListNodeBase.
See Also