'Declaration Public Function IsAncestorOf( _ ByVal descendant As DependencyObject _ ) As Boolean
public bool IsAncestorOf( DependencyObject descendant )
Parameters
- descendant
- A value of type System.Windows.DependencyObject.
Return Value
true if the visual object is an ancestor of descendant; otherwise, false.