6 references to IsAncestorOf
PresentationCore (6)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
96if (VisualTreeHelper.IsAncestorOf(spicAddingVisual, curV)) 102if (!VisualTreeHelper.IsAncestorOf(spicAddingVisual, curV))
System\Windows\Input\Stylus\Wisp\PenContexts.cs (2)
304if (VisualTreeHelper.IsAncestorOf(spicAddingVisual, curV)) 310if (!VisualTreeHelper.IsAncestorOf(spicAddingVisual, curV))
System\Windows\UIElement.cs (1)
1552if(parent != null && VisualTreeHelper.IsAncestorOf(e.Ancestor, parent))
System\Windows\UIElement3D.cs (1)
254if (parent != null && VisualTreeHelper.IsAncestorOf(e.Ancestor, parent))