27 references to GetContainingUIElement
PresentationCore (27)
MS\Internal\UIElementHelper.cs (1)
109parent = InputElement.GetContainingUIElement(myParent) as DependencyObject;
System\Windows\Input\AccessKeyManager.cs (1)
496DependencyObject uielement = InputElement.GetContainingUIElement((DependencyObject)element);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (1)
1033UIElement uiElement = InputElement.GetContainingUIElement(stylusCapture as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (2)
262UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement; 376UIElement uiElement = InputElement.GetContainingUIElement(directlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\PenContexts.cs (1)
366UIElement uiElement = InputElement.GetContainingUIElement(directlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
2658UIElement newTarget = InputElement.GetContainingUIElement(rawStylusInputReport.StylusDevice.DirectlyOver as DependencyObject) as UIElement;
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (1)
588UIElement uiElement = InputElement.GetContainingUIElement(stylusCapture as DependencyObject) as UIElement;
System\Windows\Input\TouchDevice.cs (1)
1069UIElement element = InputElement.GetContainingUIElement(_directlyOver as DependencyObject) as UIElement;
System\Windows\UIElement.cs (10)
1459parent = InputElement.GetContainingUIElement(parentAsVisual); 1474parent = InputElement.GetContainingUIElement(parentAsVisual3D); 1509parent = InputElement.GetContainingUIElement(oldParent); 1548parent = InputElement.GetContainingUIElement(_parent); 1562parent = InputElement.GetContainingUIElement(_parent); 1576parent = InputElement.GetContainingUIElement(e.OldParent); 2062DependencyObject containingElement = InputElement.GetContainingUIElement(candidate); 3653parent = InputElement.GetContainingUIElement(uie._parent); 3757DependencyObject parent = InputElement.GetContainingUIElement(uie._parent); 3867DependencyObject parent = InputElement.GetContainingUIElement(_parent);
System\Windows\UIElement3D.cs (8)
178parent = InputElement.GetContainingUIElement(parentAsVisual); 211parent = InputElement.GetContainingUIElement(oldParent); 250parent = InputElement.GetContainingUIElement(InternalVisualParent); 264parent = InputElement.GetContainingUIElement(InternalVisualParent); 278parent = InputElement.GetContainingUIElement(e.OldParent); 885parent = InputElement.GetContainingUIElement(uie.InternalVisualParent); 987DependencyObject parent = InputElement.GetContainingUIElement(uie.InternalVisualParent); 1088DependencyObject parent = InputElement.GetContainingUIElement(InternalVisualParent);