'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()> Public Shared Function IsAncestorOf( _ ByVal elem As System.Windows.UIElement, _ ByVal descendant As System.Windows.DependencyObject _ ) As System.Boolean
[System.Runtime.CompilerServices.Extension()] public static System.bool IsAncestorOf( System.Windows.UIElement elem, System.Windows.DependencyObject descendant )
Parameters
- elem
- descendant