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)
1524mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1528rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject); 1564IInputElement mouseCapture = InputElement.GetContainingInputElement(_mouseCapture as DependencyObject); 1575mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1597ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 1605ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true)); 1611ieTest = InputElement.GetContainingInputElement(e3DTest.GetUIParent(true)); 1645rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (5)
911stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 921IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 933stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 954ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 960ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true));
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (5)
984stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 995IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 1007stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 1028ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 1034ieTest = 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);