13 references to IsDescendantOf
PresentationCore (3)
System\Windows\Media\Visual.cs (1)
4151return visual.IsDescendantOf(this);
System\Windows\Media3D\Visual3D.cs (2)
1311return visual.IsDescendantOf(this); 1340return ((Visual)parent2D).IsDescendantOf(ancestor);
PresentationFramework (9)
System\Windows\Controls\PopupControlService.cs (1)
713((v is Visual && ((Visual)v).IsDescendantOf(_currentToolTip)) ||
System\Windows\Controls\ScrollViewer.cs (2)
2471if (child != sv && child.IsDescendantOf(sv)) 2486if (child != null && child.IsDescendantOf(sv))
System\Windows\Controls\StickyNote.cs (2)
569if (menu.PlacementTarget != null && menu.PlacementTarget.IsDescendantOf(this)) 1244eatEvent = source.IsDescendantOf(this.Content.InnerControl);
System\Windows\Documents\AdornerLayer.cs (2)
781if (!element.IsDescendantOf(adornerLayerParent)) 801if (!elTemp.IsDescendantOf(adornerLayerParent))
System\windows\Documents\TextEditorMouse.cs (1)
782if(hitTestResult.VisualHit is Visual) check = ((Visual)hitTestResult.VisualHit).IsDescendantOf(renderScope);
System\Windows\Input\KeyboardNavigation.cs (1)
1613if (visualFocusedElement != null && visualFocusedElement != e && visualFocusedElement.IsDescendantOf(e))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (1)
105if (_headerPeer == null || !_headerPeer.Owner.IsDescendantOf(OwningGroup))