TreeList.IsRootNode(TreeListNode) Method

Returns whether the specified node is a root node.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

public bool IsRootNode(
    TreeListNode node
)
Public Function IsRootNode(
    node As TreeListNode
) As Boolean

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