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)
1025UIElement 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)
2649UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
585UIElement uiElement = InputElement.GetContainingUIElement(stylusCapture as DependencyObject) as UIElement;
System\Windows\Input\TouchDevice.cs (1)
1057UIElement element = InputElement.GetContainingUIElement(_directlyOver as DependencyObject) as UIElement;
System\Windows\UIElement.cs (10)
1454parent = InputElement.GetContainingUIElement(parentAsVisual); 1469parent = InputElement.GetContainingUIElement(parentAsVisual3D); 1504parent = InputElement.GetContainingUIElement(oldParent); 1543parent = InputElement.GetContainingUIElement(_parent); 1557parent = InputElement.GetContainingUIElement(_parent); 1571parent = InputElement.GetContainingUIElement(e.OldParent); 2057DependencyObject containingElement = InputElement.GetContainingUIElement(candidate); 3648parent = InputElement.GetContainingUIElement(uie._parent); 3752DependencyObject parent = InputElement.GetContainingUIElement(uie._parent); 3862DependencyObject 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);