27 references to GetContainingInputElement
PresentationCore (27)
MS\Internal\UIElementHelper.cs (2)
118parent = InputElement.GetContainingInputElement(childAsUIElement.GetUIParentCore()) as DependencyObject; 125parent = InputElement.GetContainingInputElement(childAsUIElement3D.GetUIParentCore()) as DependencyObject;
System\Windows\ContentElement.cs (2)
73e = InputElement.GetContainingInputElement(_parent) as DependencyObject; 80e = InputElement.GetContainingInputElement(doParent) as DependencyObject;
System\Windows\Input\MouseDevice.cs (8)
1518mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1522rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject); 1558IInputElement mouseCapture = InputElement.GetContainingInputElement(_mouseCapture as DependencyObject); 1569mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1591ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 1599ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true)); 1605ieTest = InputElement.GetContainingInputElement(e3DTest.GetUIParent(true)); 1639rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (5)
917stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 927IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 939stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 960ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 966ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true));
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (5)
981stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 992IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 1004stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 1025ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 1031ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true));
System\Windows\Input\TouchDevice.cs (5)
198IInputElement capture = InputElement.GetContainingInputElement(_captured as DependencyObject); 226ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 234ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true)); 239ieTest = InputElement.GetContainingInputElement(e3DTest.GetUIParent(true)); 269element = InputElement.GetContainingInputElement(element as DependencyObject);