TreeListNode.HasAsParent(TreeListNode) Method

Determines whether the current node has a TreeListNode instance as a parent.

Namespace: DevExpress.XtraTreeList.Nodes

Assembly: DevExpress.XtraTreeList.v20.1.dll

Declaration

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

Parameters

Name Type Description
node TreeListNode

The TreeListNode instance to check.

Returns

Type Description
Boolean

true if the current node has a TreeListNode instance as a parent; otherwise, false.

Remarks

The HasAsParent method inspects nodes from the current to the root level to determine whether a specific TreeListNode instance is found on this path.

See Also