6 references to IsAncestorOf
PresentationCore (6)
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
84if (VisualTreeHelper.IsAncestorOf(spicAddingVisual, curV)) 90if (!VisualTreeHelper.IsAncestorOf(spicAddingVisual, curV))
System\Windows\Input\Stylus\Wisp\PenContexts.cs (2)
282if (VisualTreeHelper.IsAncestorOf(spicAddingVisual, curV)) 288if (!VisualTreeHelper.IsAncestorOf(spicAddingVisual, curV))
System\Windows\UIElement.cs (1)
1547if(parent != null && VisualTreeHelper.IsAncestorOf(e.Ancestor, parent))
System\Windows\UIElement3D.cs (1)
239if (parent != null && VisualTreeHelper.IsAncestorOf(e.Ancestor, parent))