21 references to GetPosition
PresentationCore (2)
Core\CSharp\System\Windows\Input\Mouse.cs (1)
584
return Mouse.PrimaryDevice.
GetPosition
(relativeTo);
Core\CSharp\System\Windows\Input\MouseEventArgs.cs (1)
75
return this.MouseDevice.
GetPosition
(relativeTo);
PresentationFramework (19)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (1)
965
Point currentPosition = Mouse.PrimaryDevice.
GetPosition
(textView.RenderScope);
src\Framework\MS\Internal\Ink\EditingCoordinator.cs (2)
844
stylusPoints = new StylusPointCollection(new Point[] { _capturedMouse.
GetPosition
(_inkCanvas) });
1041
Point[] points = new Point[] { _capturedMouse.
GetPosition
(_inkCanvas) };
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (2)
78
mouse.
GetPosition
((IInputElement)(InkCanvas.SelectionAdorner)));
87
_previousLocation = mouse.
GetPosition
(InkCanvas.SelectionAdorner);
src\Framework\MS\Internal\Ink\SelectionEditor.cs (2)
76
Point currentPosition = Mouse.PrimaryDevice.
GetPosition
(InkCanvas.SelectionAdorner);
101
Point currentPosition = Mouse.PrimaryDevice.
GetPosition
(InkCanvas.SelectionAdorner);
src\Framework\System\Windows\Controls\GridViewColumnHeader.cs (1)
839
Point pos = Mouse.PrimaryDevice.
GetPosition
(this);
src\Framework\System\Windows\Controls\PopupControlService.cs (4)
78
Point pt = Mouse.PrimaryDevice.
GetPosition
(directlyOver);
90
pt = Mouse.PrimaryDevice.
GetPosition
(rootAsUIElement);
97
pt = Mouse.PrimaryDevice.
GetPosition
(directlyOver);
193
Point pt = Mouse.PrimaryDevice.
GetPosition
(directlyOver);
src\Framework\System\Windows\Controls\Primitives\ButtonBase.cs (1)
157
Point pos = Mouse.PrimaryDevice.
GetPosition
(this);
src\Framework\System\Windows\Controls\Primitives\ScrollBar.cs (3)
160
Point pt = e.MouseDevice.
GetPosition
((IInputElement)Track);
169
Point thumbPoint = e.MouseDevice.
GetPosition
((IInputElement)Track.Thumb);
193
_latestRightButtonClickPoint = e.MouseDevice.
GetPosition
((IInputElement)Track);
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (1)
272
Point pt = SafeSecurityHelper.ClientToScreen(this, e.MouseDevice.
GetPosition
(this));
src\Framework\System\Windows\Controls\Slider.cs (1)
780
Point pt = e.MouseDevice.
GetPosition
(Track);
src\Framework\System\Windows\Controls\ToolBarTray.cs (1)
543
Point pointRelativeToToolBarTray = Mouse.PrimaryDevice.
GetPosition
((IInputElement)this);