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