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)
126
Point curPoint = args.
GetPosition
(InkCanvas.SelectionAdorner);
157
_previousRect = ChangeFeedbackRectangle(args.
GetPosition
(InkCanvas.SelectionAdorner));
MS\Internal\Ink\SelectionEditor.cs (2)
148
Point pointOnSelectionAdorner = args.
GetPosition
(InkCanvas.SelectionAdorner);
178
Point pointOnSelectionAdorner = args.
GetPosition
(InkCanvas.SelectionAdorner);
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
206
return checkBox.InputHitTest(((MouseButtonEventArgs)e).
GetPosition
(checkBox)) != null;
System\Windows\Controls\DatePicker.cs (1)
894
if (this._dropDownButton.InputHitTest(e.
GetPosition
(this._dropDownButton)) != null)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
411
PrepareHeaderDrag(header, e.
GetPosition
(this), e.
GetPosition
(header), false);
455
_currentPos = e.
GetPosition
(this);
System\Windows\Controls\MenuItem.cs (2)
1472
if (r.Contains(e.
GetPosition
(this)))
1494
if (r.Contains(e.
GetPosition
(this)))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
502
Point mousePosition = e.
GetPosition
(this);
511
PrepareColumnHeaderDrag(header, e.
GetPosition
(this), e.
GetPosition
(header));
532
_columnHeaderDragCurrentPosition = e.
GetPosition
(this);
576
_columnHeaderDragCurrentPosition = e.
GetPosition
(this);
System\Windows\Controls\Primitives\Popup.cs (1)
1117
if (_popupRoot.InputHitTest(e.
GetPosition
(_popupRoot)) == null)
System\Windows\Controls\Primitives\Thumb.cs (2)
222
_originThumbPoint = e.
GetPosition
(this);
289
Point thumbCoordPosition = e.
GetPosition
(this);
System\Windows\Documents\RubberbandSelector.cs (5)
496
FixedDocumentPage dp = GetFixedPanelDocumentPage(e.
GetPosition
(_scope));
512
_origin = e.
GetPosition
(_page);
527
ExtendSelection(e.
GetPosition
(_page));
544
ExtendSelection(e.
GetPosition
(_page));
551
if (_isSelecting || GetFixedPanelDocumentPage(e.
GetPosition
(_scope)) != null)
System\windows\Documents\TextEditorDragDrop.cs (1)
125
Point mouseDownPoint = e.
GetPosition
(_textEditor.TextView.RenderScope);
System\windows\Documents\TextEditorMouse.cs (6)
217
if (!IsPointWithinInteractiveArea(This, e.
GetPosition
(This.UiScope)))
227
Point mouseDownPoint = e.
GetPosition
(This.TextView.RenderScope);
338
Point mousePoint = e.
GetPosition
(This.TextView.RenderScope);
429
TextEditorMouse.UpdateCursor(This, e.
GetPosition
(This.TextView.RenderScope));
446
Point mouseMovePoint = e.
GetPosition
(This.TextView.RenderScope);
512
Point pointScroller = e.
GetPosition
((IInputElement)scroller);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2622
_localMousePosition = e.
GetPosition
(this);
2645
gallery._localMousePosition = e.
GetPosition
(gallery);
2653
Point currentMousePosition = e.
GetPosition
(this);
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
273
devicePoint = rw.PointToScreen(e.
GetPosition
(rw));