Skip to main content
A newer version of this page is available. .

TreeList.IsRootNode(TreeListNode) Method

Returns whether the specified node is a root node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

public bool IsRootNode(
    TreeListNode node
)

Parameters

Name Type Description
node TreeListNode

A TreeListNode object for which to return whether it is a root node.

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