13 references to IsDescendantOf
PresentationCore (3)
System\Windows\Media\Visual.cs (1)
4132
return visual.
IsDescendantOf
(this);
System\Windows\Media3D\Visual3D.cs (2)
1302
return visual.
IsDescendantOf
(this);
1331
return ((Visual)parent2D).
IsDescendantOf
(ancestor);
PresentationFramework (9)
System\Windows\Controls\PopupControlService.cs (1)
709
((v is Visual && ((Visual)v).
IsDescendantOf
(_currentToolTip)) ||
System\Windows\Controls\ScrollViewer.cs (2)
2460
if (child != sv && child.
IsDescendantOf
(sv))
2475
if (child != null && child.
IsDescendantOf
(sv))
System\Windows\Controls\StickyNote.cs (2)
535
if (menu.PlacementTarget != null && menu.PlacementTarget.
IsDescendantOf
(this))
1205
eatEvent = source.
IsDescendantOf
(this.Content.InnerControl);
System\Windows\Documents\AdornerLayer.cs (2)
778
if (!element.
IsDescendantOf
(adornerLayerParent))
798
if (!elTemp.
IsDescendantOf
(adornerLayerParent))
System\windows\Documents\TextEditorMouse.cs (1)
764
if(hitTestResult.VisualHit is Visual) check = ((Visual)hitTestResult.VisualHit).
IsDescendantOf
(renderScope);
System\Windows\Input\KeyboardNavigation.cs (1)
1601
if (visualFocusedElement != null && visualFocusedElement != e && visualFocusedElement.
IsDescendantOf
(e))
System.Windows.Controls.Ribbon (1)
Microsoft\Windows\Automation\Peers\RibbonGroupAutomationPeer.cs (1)
99
if (_headerPeer == null || !_headerPeer.Owner.
IsDescendantOf
(OwningGroup))