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