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