GridTreeNode Objects in WPF GridTreeControl (Classic)
23 Oct 2019 / 1 minute to read
The GridTreeControl.InternalGrid.Nodes collection holds the GridTreeNodes that represents the visible nodes in the GridTree control. The GridTreeNode object has the following properties:
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
treeGrid.ParentNode.ChildNodes | </tr>
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 istrue .
Normal |
List |
gridTreeNoe.SelectedColumns | </tr>
</table>
|
Was this page helpful?
Yes
No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page