TreeListNode.HasAsParent(TreeListNode) Method
Determines whether the current node has a TreeListNode instance as a parent.
Namespace: DevExpress.XtraTreeList.Nodes
Assembly: DevExpress.XtraTreeList.v19.2.dll
Declaration
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.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the HasAsParent(TreeListNode) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.