22 references to GetPosition
PresentationCore (4)
System\Windows\Input\Mouse.cs (1)
579
return Mouse.PrimaryDevice.
GetPosition
(relativeTo);
System\Windows\Input\MouseEventArgs.cs (1)
73
return this.MouseDevice.
GetPosition
(relativeTo);
System\Windows\Input\Stylus\Pointer\PointerStylusPlugInManager.cs (1)
601
Point ptClient = mouseDevice.
GetPosition
(source.RootVisual as IInputElement);
System\Windows\Input\Stylus\Wisp\WispLogic.cs (1)
1904
Point ptClient = mouseDevice.
GetPosition
(source.RootVisual as IInputElement);
PresentationFramework (18)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (1)
943
Point currentPosition = Mouse.PrimaryDevice.
GetPosition
(textView.RenderScope);
MS\Internal\Ink\EditingCoordinator.cs (2)
806
stylusPoints = new StylusPointCollection(new Point[] { _capturedMouse.
GetPosition
(_inkCanvas) });
996
Point[] points = new Point[] { _capturedMouse.
GetPosition
(_inkCanvas) };
MS\Internal\Ink\SelectionEditingBehavior.cs (2)
76
mouse.
GetPosition
((IInputElement)(InkCanvas.SelectionAdorner)));
85
_previousLocation = mouse.
GetPosition
(InkCanvas.SelectionAdorner);
MS\Internal\Ink\SelectionEditor.cs (2)
70
Point currentPosition = Mouse.PrimaryDevice.
GetPosition
(InkCanvas.SelectionAdorner);
95
Point currentPosition = Mouse.PrimaryDevice.
GetPosition
(InkCanvas.SelectionAdorner);
System\Windows\Controls\GridViewColumnHeader.cs (1)
806
Point pos = Mouse.PrimaryDevice.
GetPosition
(this);
System\Windows\Controls\PopupControlService.cs (3)
78
Point pt = Mouse.PrimaryDevice.
GetPosition
(rootAsUIElement);
213
Point pt = Mouse.PrimaryDevice.
GetPosition
(directlyOver);
1614
System.Windows.Point pt2 = hwndSource.TransformToDevice(Mouse.PrimaryDevice.
GetPosition
(rootElement));
System\Windows\Controls\Primitives\ButtonBase.cs (1)
160
Point pos = Mouse.PrimaryDevice.
GetPosition
(this);
System\Windows\Controls\Primitives\ScrollBar.cs (3)
158
Point pt = e.MouseDevice.
GetPosition
((IInputElement)Track);
167
Point thumbPoint = e.MouseDevice.
GetPosition
((IInputElement)Track.Thumb);
188
_latestRightButtonClickPoint = e.MouseDevice.
GetPosition
((IInputElement)Track);
System\Windows\Controls\Primitives\Thumb.cs (1)
275
Point pt = SafeSecurityHelper.ClientToScreen(this, e.MouseDevice.
GetPosition
(this));
System\Windows\Controls\Slider.cs (1)
777
Point pt = e.MouseDevice.
GetPosition
(Track);
System\Windows\Controls\ToolBarTray.cs (1)
532
Point pointRelativeToToolBarTray = Mouse.PrimaryDevice.
GetPosition
((IInputElement)this);