13 references to IsDescendantOf
PresentationCore (3)
System\Windows\Media\Visual.cs (1)
4135return visual.IsDescendantOf(this);
System\Windows\Media3D\Visual3D.cs (2)
1303return visual.IsDescendantOf(this); 1332return ((Visual)parent2D).IsDescendantOf(ancestor);
PresentationFramework (9)
System\Windows\Controls\PopupControlService.cs (1)
710((v is Visual && ((Visual)v).IsDescendantOf(_currentToolTip)) ||
System\Windows\Controls\ScrollViewer.cs (2)
2461if (child != sv && child.IsDescendantOf(sv)) 2476if (child != null && child.IsDescendantOf(sv))
System\Windows\Controls\StickyNote.cs (2)
536if (menu.PlacementTarget != null && menu.PlacementTarget.IsDescendantOf(this)) 1206eatEvent = source.IsDescendantOf(this.Content.InnerControl);
System\Windows\Documents\AdornerLayer.cs (2)
779if (!element.IsDescendantOf(adornerLayerParent)) 799if (!elTemp.IsDescendantOf(adornerLayerParent))
System\windows\Documents\TextEditorMouse.cs (1)
765if(hitTestResult.VisualHit is Visual) check = ((Visual)hitTestResult.VisualHit).IsDescendantOf(renderScope);
System\Windows\Input\KeyboardNavigation.cs (1)
1603if (visualFocusedElement != null && visualFocusedElement != e && visualFocusedElement.IsDescendantOf(e))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (1)
100if (_headerPeer == null || !_headerPeer.Owner.IsDescendantOf(OwningGroup))