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