27 references to GetContainingInputElement
PresentationCore (27)
MS\Internal\UIElementHelper.cs (2)
116parent = InputElement.GetContainingInputElement(childAsUIElement.GetUIParentCore()) as DependencyObject; 123parent = InputElement.GetContainingInputElement(childAsUIElement3D.GetUIParentCore()) as DependencyObject;
System\Windows\ContentElement.cs (2)
62e = InputElement.GetContainingInputElement(_parent) as DependencyObject; 69e = InputElement.GetContainingInputElement(doParent) as DependencyObject;
System\Windows\Input\MouseDevice.cs (8)
1509mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1513rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject); 1549IInputElement mouseCapture = InputElement.GetContainingInputElement(_mouseCapture as DependencyObject); 1560mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1582ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 1590ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true)); 1596ieTest = InputElement.GetContainingInputElement(e3DTest.GetUIParent(true)); 1630rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (5)
909stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 919IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 931stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 952ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 958ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true));
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (5)
978stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 989IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 1001stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 1022ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 1028ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true));
System\Windows\Input\TouchDevice.cs (5)
186IInputElement capture = InputElement.GetContainingInputElement(_captured as DependencyObject); 214ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 222ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true)); 227ieTest = InputElement.GetContainingInputElement(e3DTest.GetUIParent(true)); 257element = InputElement.GetContainingInputElement(element as DependencyObject);