36 references to GetPosition
Microsoft.VisualStudio.LanguageServices (1)
StackTraceExplorer\StackTraceExplorerToolWindow.cs (1)
143var relativePoint = e.GetPosition(contentRoot);
PresentationFramework (31)
MS\Internal\Ink\SelectionEditingBehavior.cs (2)
127Point curPoint = args.GetPosition(InkCanvas.SelectionAdorner); 158_previousRect = ChangeFeedbackRectangle(args.GetPosition(InkCanvas.SelectionAdorner));
MS\Internal\Ink\SelectionEditor.cs (2)
149Point pointOnSelectionAdorner = args.GetPosition(InkCanvas.SelectionAdorner); 179Point pointOnSelectionAdorner = args.GetPosition(InkCanvas.SelectionAdorner);
System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
207return checkBox.InputHitTest(((MouseButtonEventArgs)e).GetPosition(checkBox)) != null;
System\Windows\Controls\DatePicker.cs (1)
898if (this._dropDownButton.InputHitTest(e.GetPosition(this._dropDownButton)) != null)
System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
412PrepareHeaderDrag(header, e.GetPosition(this), e.GetPosition(header), false); 456_currentPos = e.GetPosition(this);
System\Windows\Controls\MenuItem.cs (2)
1477if (r.Contains(e.GetPosition(this))) 1499if (r.Contains(e.GetPosition(this)))
System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
509Point mousePosition = e.GetPosition(this); 518PrepareColumnHeaderDrag(header, e.GetPosition(this), e.GetPosition(header)); 539_columnHeaderDragCurrentPosition = e.GetPosition(this); 583_columnHeaderDragCurrentPosition = e.GetPosition(this);
System\Windows\Controls\Primitives\Popup.cs (1)
1104if (_popupRoot.InputHitTest(e.GetPosition(_popupRoot)) == null)
System\Windows\Controls\Primitives\Thumb.cs (2)
223_originThumbPoint = e.GetPosition(this); 290Point thumbCoordPosition = e.GetPosition(this);
System\Windows\Documents\RubberbandSelector.cs (5)
498FixedDocumentPage dp = GetFixedPanelDocumentPage(e.GetPosition(_scope)); 514_origin = e.GetPosition(_page); 529ExtendSelection(e.GetPosition(_page)); 546ExtendSelection(e.GetPosition(_page)); 553if (_isSelecting || GetFixedPanelDocumentPage(e.GetPosition(_scope)) != null)
System\windows\Documents\TextEditorDragDrop.cs (1)
126Point mouseDownPoint = e.GetPosition(_textEditor.TextView.RenderScope);
System\windows\Documents\TextEditorMouse.cs (6)
221if (!IsPointWithinInteractiveArea(This, e.GetPosition(This.UiScope))) 231Point mouseDownPoint = e.GetPosition(This.TextView.RenderScope); 342Point mousePoint = e.GetPosition(This.TextView.RenderScope); 433TextEditorMouse.UpdateCursor(This, e.GetPosition(This.TextView.RenderScope)); 450Point mouseMovePoint = e.GetPosition(This.TextView.RenderScope); 516Point pointScroller = e.GetPosition((IInputElement)scroller);
System.Windows.Controls.Ribbon (4)
Microsoft\Windows\Controls\Ribbon\RibbonGallery.cs (3)
2622_localMousePosition = e.GetPosition(this); 2645gallery._localMousePosition = e.GetPosition(gallery); 2653Point currentMousePosition = e.GetPosition(this);
Microsoft\Windows\Controls\Ribbon\RibbonWindow.cs (1)
274devicePoint = rw.PointToScreen(e.GetPosition(rw));