TreeList.IsRootNode(TreeListNode) Method
In This Article
Returns whether the specified node is a root node.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public bool IsRootNode(
TreeListNode node
)
#Parameters
Name | Type | Description |
---|---|---|
node | Tree |
A Tree |
#Returns
Type | Description |
---|---|
Boolean | true if the specified node is a root node; otherwise, false. |
#Remarks
The collection of root nodes in the TreeList can be accessed using the TreeList.Nodes property. The IsRootNode method returns whether the specified node is a root node.
See Also