Version

IsAncestorOf Method

Returns whether or not the specified node is an Ancestor of this node.
Syntax
'Declaration
 
Public Function IsAncestorOf( _
   ByVal descendantNode As UltraTreeNode _
) As Boolean
public bool IsAncestorOf( 
   UltraTreeNode descendantNode
)

Parameters

descendantNode
An UltraTreeNode

Return Value

Boolean
Remarks

This method is useful for ensuring that a node is not repositioned onto one of it's own descendants (in a drag and drop operation, for example.)

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also