27 references to GetContainingInputElement
PresentationCore (27)
MS\Internal\UIElementHelper.cs (2)
116
parent = InputElement.
GetContainingInputElement
(childAsUIElement.GetUIParentCore()) as DependencyObject;
123
parent = InputElement.
GetContainingInputElement
(childAsUIElement3D.GetUIParentCore()) as DependencyObject;
System\Windows\ContentElement.cs (2)
62
e = InputElement.
GetContainingInputElement
(_parent) as DependencyObject;
69
e = InputElement.
GetContainingInputElement
(doParent) as DependencyObject;
System\Windows\Input\MouseDevice.cs (8)
1524
mouseOver = InputElement.
GetContainingInputElement
(mouseOver as DependencyObject);
1528
rawMouseOver = InputElement.
GetContainingInputElement
(rawMouseOver as DependencyObject);
1564
IInputElement mouseCapture = InputElement.
GetContainingInputElement
(_mouseCapture as DependencyObject);
1575
mouseOver = InputElement.
GetContainingInputElement
(mouseOver as DependencyObject);
1597
ieTest = InputElement.
GetContainingInputElement
(eTest.GetUIParent(true));
1605
ieTest = InputElement.
GetContainingInputElement
(ceTest.GetUIParent(true));
1611
ieTest = InputElement.
GetContainingInputElement
(e3DTest.GetUIParent(true));
1645
rawMouseOver = InputElement.
GetContainingInputElement
(rawMouseOver as DependencyObject);
System\Windows\Input\Stylus\Pointer\PointerStylusDevice.cs (5)
911
stylusOver = InputElement.
GetContainingInputElement
(stylusOver as DependencyObject);
921
IInputElement stylusCapture = InputElement.
GetContainingInputElement
(_stylusCapture as DependencyObject);
933
stylusOver = InputElement.
GetContainingInputElement
(stylusOver as DependencyObject);
954
ieTest = InputElement.
GetContainingInputElement
(eTest.GetUIParent(true));
960
ieTest = InputElement.
GetContainingInputElement
(ceTest.GetUIParent(true));
System\Windows\Input\Stylus\Wisp\WispStylusDevice.cs (5)
984
stylusOver = InputElement.
GetContainingInputElement
(stylusOver as DependencyObject);
995
IInputElement stylusCapture = InputElement.
GetContainingInputElement
(_stylusCapture as DependencyObject);
1007
stylusOver = InputElement.
GetContainingInputElement
(stylusOver as DependencyObject);
1028
ieTest = InputElement.
GetContainingInputElement
(eTest.GetUIParent(true));
1034
ieTest = InputElement.
GetContainingInputElement
(ceTest.GetUIParent(true));
System\Windows\Input\TouchDevice.cs (5)
186
IInputElement capture = InputElement.
GetContainingInputElement
(_captured as DependencyObject);
214
ieTest = InputElement.
GetContainingInputElement
(eTest.GetUIParent(true));
222
ieTest = InputElement.
GetContainingInputElement
(ceTest.GetUIParent(true));
227
ieTest = InputElement.
GetContainingInputElement
(e3DTest.GetUIParent(true));
257
element = InputElement.
GetContainingInputElement
(element as DependencyObject);