23 references to GetPosition
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineHints\InlineHintsTag.cs (1)
248var mousePoint = Mouse.GetPosition(hintUIElement);
PresentationFramework (20)
MS\Internal\Documents\DocumentGridContextMenu.cs (1)
105uiScopeMouseDownPoint = Mouse.GetPosition(documentGrid);
System\Windows\Controls\DataGrid.cs (6)
4810_dragPoint = Mouse.GetPosition(this); 6258Point currentMousePosition = Mouse.GetPosition(this); 6439Point pt = Mouse.GetPosition(row); 6559Point pt = Mouse.GetPosition(cell); 6569Point rowPt = Mouse.GetPosition(rowOwner); 6661Point pt = Mouse.GetPosition(itemsHost);
System\Windows\Controls\DataGridTextColumn.cs (1)
186if ((mouseArgs == null) || !PlaceCaretOnTextBox(textBox, Mouse.GetPosition(textBox)))
System\Windows\Controls\ItemsControl.cs (1)
3363Point mousePosition = Mouse.GetPosition(relativeTo);
System\Windows\Controls\MenuItem.cs (1)
859itemBounds.Contains(Mouse.GetPosition(this)))
System\Windows\Controls\Primitives\Popup.cs (1)
3033Point pt = Mouse.GetPosition(relativeTarget);
System\Windows\Controls\Primitives\Selector.cs (2)
1010_lastMousePosition = Mouse.GetPosition(this); 1017Point newPosition = Mouse.GetPosition(this);
System\Windows\Documents\ImmComposition.cs (1)
1634Point point = Mouse.GetPosition(RenderScope);
System\windows\Documents\TextEditorContextMenu.cs (3)
56Point renderScopeMouseDownPoint = Mouse.GetPosition(This.TextView.RenderScope); 106if (!TextEditorMouse.IsPointWithinInteractiveArea(This, Mouse.GetPosition(This.UiScope))) 210Point uiScopeMouseDownPoint = Mouse.GetPosition(This.UiScope);
System\windows\Documents\TextEditorMouse.cs (1)
399if (IsPointWithinInteractiveArea(This, Mouse.GetPosition(This.UiScope)))
System\windows\Documents\TextEditorTyping.cs (1)
1888TextPointer pointer = (TextPointer)This.TextView.GetTextPositionFromPoint(Mouse.GetPosition(This.TextView.RenderScope), false);
System\Windows\Documents\TextStore.cs (1)
2993Point point = Mouse.GetPosition(RenderScope);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1114Point position = Mouse.GetPosition(element);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
770itemBounds.Contains(Mouse.GetPosition(this)))