27 references to GetContainingUIElement
PresentationCore (27)
MS\Internal\UIElementHelper.cs (1)
107parent = InputElement.GetContainingUIElement(myParent) as DependencyObject;
System\Windows\Input\AccessKeyManager.cs (1)
484DependencyObject uielement = InputElement.GetContainingUIElement((DependencyObject)element);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
1027UIElement uiElement = InputElement.GetContainingUIElement(stylusCapture as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
250UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement; 364UIElement uiElement = InputElement.GetContainingUIElement(directlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
344UIElement uiElement = InputElement.GetContainingUIElement(directlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2664UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
587UIElement uiElement = InputElement.GetContainingUIElement(stylusCapture as DependencyObject) as UIElement;
System\Windows\Input\TouchDevice.cs (1)
1059UIElement element = InputElement.GetContainingUIElement(_directlyOver as DependencyObject) as UIElement;
System\Windows\UIElement.cs (10)
1446parent = InputElement.GetContainingUIElement(parentAsVisual); 1461parent = InputElement.GetContainingUIElement(parentAsVisual3D); 1496parent = InputElement.GetContainingUIElement(oldParent); 1535parent = InputElement.GetContainingUIElement(_parent); 1549parent = InputElement.GetContainingUIElement(_parent); 1563parent = InputElement.GetContainingUIElement(e.OldParent); 2049DependencyObject containingElement = InputElement.GetContainingUIElement(candidate); 3640parent = InputElement.GetContainingUIElement(uie._parent); 3744DependencyObject parent = InputElement.GetContainingUIElement(uie._parent); 3854DependencyObject parent = InputElement.GetContainingUIElement(_parent);
System\Windows\UIElement3D.cs (8)
163parent = InputElement.GetContainingUIElement(parentAsVisual); 196parent = InputElement.GetContainingUIElement(oldParent); 235parent = InputElement.GetContainingUIElement(InternalVisualParent); 249parent = InputElement.GetContainingUIElement(InternalVisualParent); 263parent = InputElement.GetContainingUIElement(e.OldParent); 870parent = InputElement.GetContainingUIElement(uie.InternalVisualParent); 972DependencyObject parent = InputElement.GetContainingUIElement(uie.InternalVisualParent); 1073DependencyObject parent = InputElement.GetContainingUIElement(InternalVisualParent);