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