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)
127
Point curPoint = args.
GetPosition
(InkCanvas.SelectionAdorner);
158
_previousRect = ChangeFeedbackRectangle(args.
GetPosition
(InkCanvas.SelectionAdorner));
MS\Internal\Ink\SelectionEditor.cs (2)
149
Point pointOnSelectionAdorner = args.
GetPosition
(InkCanvas.SelectionAdorner);
179
Point pointOnSelectionAdorner = args.
GetPosition
(InkCanvas.SelectionAdorner);
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
207
return checkBox.InputHitTest(((MouseButtonEventArgs)e).
GetPosition
(checkBox)) != null;
System\Windows\Controls\DatePicker.cs (1)
895
if (this._dropDownButton.InputHitTest(e.
GetPosition
(this._dropDownButton)) != null)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
412
PrepareHeaderDrag(header, e.
GetPosition
(this), e.
GetPosition
(header), false);
456
_currentPos = e.
GetPosition
(this);
System\Windows\Controls\MenuItem.cs (2)
1473
if (r.Contains(e.
GetPosition
(this)))
1495
if (r.Contains(e.
GetPosition
(this)))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
503
Point mousePosition = e.
GetPosition
(this);
512
PrepareColumnHeaderDrag(header, e.
GetPosition
(this), e.
GetPosition
(header));
533
_columnHeaderDragCurrentPosition = e.
GetPosition
(this);
577
_columnHeaderDragCurrentPosition = e.
GetPosition
(this);
System\Windows\Controls\Primitives\Popup.cs (1)
1118
if (_popupRoot.InputHitTest(e.
GetPosition
(_popupRoot)) == null)
System\Windows\Controls\Primitives\Thumb.cs (2)
223
_originThumbPoint = e.
GetPosition
(this);
290
Point thumbCoordPosition = e.
GetPosition
(this);
System\Windows\Documents\RubberbandSelector.cs (5)
497
FixedDocumentPage dp = GetFixedPanelDocumentPage(e.
GetPosition
(_scope));
513
_origin = e.
GetPosition
(_page);
528
ExtendSelection(e.
GetPosition
(_page));
545
ExtendSelection(e.
GetPosition
(_page));
552
if (_isSelecting || GetFixedPanelDocumentPage(e.
GetPosition
(_scope)) != null)
System\windows\Documents\TextEditorDragDrop.cs (1)
126
Point mouseDownPoint = e.
GetPosition
(_textEditor.TextView.RenderScope);
System\windows\Documents\TextEditorMouse.cs (6)
218
if (!IsPointWithinInteractiveArea(This, e.
GetPosition
(This.UiScope)))
228
Point mouseDownPoint = e.
GetPosition
(This.TextView.RenderScope);
339
Point mousePoint = e.
GetPosition
(This.TextView.RenderScope);
430
TextEditorMouse.UpdateCursor(This, e.
GetPosition
(This.TextView.RenderScope));
447
Point mouseMovePoint = e.
GetPosition
(This.TextView.RenderScope);
513
Point pointScroller = e.
GetPosition
((IInputElement)scroller);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2623
_localMousePosition = e.
GetPosition
(this);
2646
gallery._localMousePosition = e.
GetPosition
(gallery);
2654
Point currentMousePosition = e.
GetPosition
(this);
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
274
devicePoint = rw.PointToScreen(e.
GetPosition
(rw));