27 references to GetContainingInputElement
PresentationCore (27)
MS\Internal\UIElementHelper.cs (2)
115parent = InputElement.GetContainingInputElement(childAsUIElement.GetUIParentCore()) as DependencyObject; 122parent = InputElement.GetContainingInputElement(childAsUIElement3D.GetUIParentCore()) as DependencyObject;
System\Windows\ContentElement.cs (2)
61e = InputElement.GetContainingInputElement(_parent) as DependencyObject; 68e = InputElement.GetContainingInputElement(doParent) as DependencyObject;
System\Windows\Input\MouseDevice.cs (8)
1520mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1524rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject); 1560IInputElement mouseCapture = InputElement.GetContainingInputElement(_mouseCapture as DependencyObject); 1571mouseOver = InputElement.GetContainingInputElement(mouseOver as DependencyObject); 1593ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 1601ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true)); 1607ieTest = InputElement.GetContainingInputElement(e3DTest.GetUIParent(true)); 1641rawMouseOver = InputElement.GetContainingInputElement(rawMouseOver as DependencyObject);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (5)
910stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 920IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 932stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 953ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 959ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true));
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (5)
980stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 991IInputElement stylusCapture = InputElement.GetContainingInputElement(_stylusCapture as DependencyObject); 1003stylusOver = InputElement.GetContainingInputElement(stylusOver as DependencyObject); 1024ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 1030ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true));
System\Windows\Input\TouchDevice.cs (5)
185IInputElement capture = InputElement.GetContainingInputElement(_captured as DependencyObject); 213ieTest = InputElement.GetContainingInputElement(eTest.GetUIParent(true)); 221ieTest = InputElement.GetContainingInputElement(ceTest.GetUIParent(true)); 226ieTest = InputElement.GetContainingInputElement(e3DTest.GetUIParent(true)); 256element = InputElement.GetContainingInputElement(element as DependencyObject);