36 references to GetPosition
Microsoft.VisualStudio.LanguageServices (1)
StackTraceExplorer\StackTraceExplorerToolWindow.cs (1)
143
var relativePoint = e.
GetPosition
(contentRoot);
PresentationFramework (31)
MS\Internal\Ink\SelectionEditingBehavior.cs (2)
140
Point curPoint = args.
GetPosition
(InkCanvas.SelectionAdorner);
171
_previousRect = ChangeFeedbackRectangle(args.
GetPosition
(InkCanvas.SelectionAdorner));
MS\Internal\Ink\SelectionEditor.cs (2)
164
Point pointOnSelectionAdorner = args.
GetPosition
(InkCanvas.SelectionAdorner);
194
Point pointOnSelectionAdorner = args.
GetPosition
(InkCanvas.SelectionAdorner);
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
211
return checkBox.InputHitTest(((MouseButtonEventArgs)e).
GetPosition
(checkBox)) != null;
System\Windows\Controls\DatePicker.cs (1)
902
if (this._dropDownButton.InputHitTest(e.
GetPosition
(this._dropDownButton)) != null)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
415
PrepareHeaderDrag(header, e.
GetPosition
(this), e.
GetPosition
(header), false);
459
_currentPos = e.
GetPosition
(this);
System\Windows\Controls\MenuItem.cs (2)
1487
if (r.Contains(e.
GetPosition
(this)))
1509
if (r.Contains(e.
GetPosition
(this)))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
514
Point mousePosition = e.
GetPosition
(this);
523
PrepareColumnHeaderDrag(header, e.
GetPosition
(this), e.
GetPosition
(header));
544
_columnHeaderDragCurrentPosition = e.
GetPosition
(this);
588
_columnHeaderDragCurrentPosition = e.
GetPosition
(this);
System\Windows\Controls\Primitives\Popup.cs (1)
1111
if (_popupRoot.InputHitTest(e.
GetPosition
(_popupRoot)) == null)
System\Windows\Controls\Primitives\Thumb.cs (2)
237
_originThumbPoint = e.
GetPosition
(this);
304
Point thumbCoordPosition = e.
GetPosition
(this);
System\Windows\Documents\RubberbandSelector.cs (5)
508
FixedDocumentPage dp = GetFixedPanelDocumentPage(e.
GetPosition
(_scope));
524
_origin = e.
GetPosition
(_page);
539
ExtendSelection(e.
GetPosition
(_page));
556
ExtendSelection(e.
GetPosition
(_page));
563
if (_isSelecting || GetFixedPanelDocumentPage(e.
GetPosition
(_scope)) != null)
System\windows\Documents\TextEditorDragDrop.cs (1)
143
Point mouseDownPoint = e.
GetPosition
(_textEditor.TextView.RenderScope);
System\windows\Documents\TextEditorMouse.cs (6)
235
if (!IsPointWithinInteractiveArea(This, e.
GetPosition
(This.UiScope)))
245
Point mouseDownPoint = e.
GetPosition
(This.TextView.RenderScope);
356
Point mousePoint = e.
GetPosition
(This.TextView.RenderScope);
447
TextEditorMouse.UpdateCursor(This, e.
GetPosition
(This.TextView.RenderScope));
464
Point mouseMovePoint = e.
GetPosition
(This.TextView.RenderScope);
530
Point pointScroller = e.
GetPosition
((IInputElement)scroller);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2624
_localMousePosition = e.
GetPosition
(this);
2647
gallery._localMousePosition = e.
GetPosition
(gallery);
2655
Point currentMousePosition = e.
GetPosition
(this);
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
279
devicePoint = rw.PointToScreen(e.
GetPosition
(rw));