TreeListNode.HasAsParent(TreeListNode) Method
In This Article
Determines whether the current node has a TreeListNode instance as a parent.
Namespace: DevExpress.XtraTreeList.Nodes
Assembly: DevExpress.XtraTreeList.v24.2.dll
NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.TreeList
#Declaration
public bool HasAsParent(
TreeListNode node
)
#Parameters
Name | Type | Description |
---|---|---|
node | Tree |
The Tree |
#Returns
Type | Description |
---|---|
Boolean | true if the current node has a Tree |
#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