27 references to GetContainingUIElement
PresentationCore (27)
MS\Internal\UIElementHelper.cs (1)
106parent = InputElement.GetContainingUIElement(myParent) as DependencyObject;
System\Windows\Input\AccessKeyManager.cs (1)
483DependencyObject uielement = InputElement.GetContainingUIElement((DependencyObject)element);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
1026UIElement uiElement = InputElement.GetContainingUIElement(stylusCapture as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
249UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement; 363UIElement uiElement = InputElement.GetContainingUIElement(directlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
343UIElement uiElement = InputElement.GetContainingUIElement(directlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2663UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
583UIElement uiElement = InputElement.GetContainingUIElement(stylusCapture as DependencyObject) as UIElement;
System\Windows\Input\TouchDevice.cs (1)
1058UIElement element = InputElement.GetContainingUIElement(_directlyOver as DependencyObject) as UIElement;
System\Windows\UIElement.cs (10)
1445parent = InputElement.GetContainingUIElement(parentAsVisual); 1460parent = InputElement.GetContainingUIElement(parentAsVisual3D); 1495parent = InputElement.GetContainingUIElement(oldParent); 1534parent = InputElement.GetContainingUIElement(_parent); 1548parent = InputElement.GetContainingUIElement(_parent); 1562parent = InputElement.GetContainingUIElement(e.OldParent); 2048DependencyObject containingElement = InputElement.GetContainingUIElement(candidate); 3633parent = InputElement.GetContainingUIElement(uie._parent); 3736DependencyObject parent = InputElement.GetContainingUIElement(uie._parent); 3846DependencyObject parent = InputElement.GetContainingUIElement(_parent);
System\Windows\UIElement3D.cs (8)
162parent = InputElement.GetContainingUIElement(parentAsVisual); 195parent = InputElement.GetContainingUIElement(oldParent); 234parent = InputElement.GetContainingUIElement(InternalVisualParent); 248parent = InputElement.GetContainingUIElement(InternalVisualParent); 262parent = InputElement.GetContainingUIElement(e.OldParent); 869parent = InputElement.GetContainingUIElement(uie.InternalVisualParent); 970DependencyObject parent = InputElement.GetContainingUIElement(uie.InternalVisualParent); 1071DependencyObject parent = InputElement.GetContainingUIElement(InternalVisualParent);