GridTreeNode Objects in WPF GridTreeControl (Classic)

The GridTreeControl.InternalGrid.Nodes collection holds the GridTreeNodes that represents the visible nodes in the GridTree control. The GridTreeNode object has the following properties:

</tr> </tr> </table>
GridTreeNode Property Description Type of Property Value It Accepts Property Syntax
ChildNodes A collection of GridTreeNodes that represent the child nodes for this node. Normal List</td> treeGrid.ParentNode.ChildNodes
Expanded Controls the expand state for the node. Set this property to true, to expand this node, or set it to false, and to collapse this node. Normal bool gridTreeNode.Expanded
HasChildNodes Determines whether this node has child nodes or not. Normal bool gridTreeNode.HasChildNodes
IsSelected Controls whether this node is selected. Normal bool gridTreeNode.IsSelected
Item The data item (an object from the underlying bound data) associated with this node. Normal Object gridTreeNode.Item
Level Indicates tree level for this node. Normal int gridTreeNode.Level
NodeHeight The height of the grid row associated with this node. Normal Double gridTreeNode.NodeHeight
ParentItem The data item (an object from the underlying bound data) associated with the parent node of this node. Normal Object gridTreeNode.ParentItem
ParentNode The GridTreeNode that is the parent node of this node. Normal GridTreeNode gridTreeNode.ParentNode
SelectedColumns Holds the column names that are selected for this node. This property is only valid when GridTreeControl.EnableNodeSelections is

false

and GridTreeControl.EnableSelections is

true

.
Normal List</td> gridTreeNoe.SelectedColumns