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)
106uiScopeMouseDownPoint = Mouse.GetPosition(documentGrid);
System\Windows\Controls\DataGrid.cs (6)
4774_dragPoint = Mouse.GetPosition(this); 6216Point currentMousePosition = Mouse.GetPosition(this); 6397Point pt = Mouse.GetPosition(row); 6517Point pt = Mouse.GetPosition(cell); 6527Point rowPt = Mouse.GetPosition(rowOwner); 6619Point pt = Mouse.GetPosition(itemsHost);
System\Windows\Controls\DataGridTextColumn.cs (1)
185if ((mouseArgs == null) || !PlaceCaretOnTextBox(textBox, Mouse.GetPosition(textBox)))
System\Windows\Controls\ItemsControl.cs (1)
3332Point mousePosition = Mouse.GetPosition(relativeTo);
System\Windows\Controls\MenuItem.cs (1)
858itemBounds.Contains(Mouse.GetPosition(this)))
System\Windows\Controls\Primitives\Popup.cs (1)
3041Point pt = Mouse.GetPosition(relativeTarget);
System\Windows\Controls\Primitives\Selector.cs (2)
1006_lastMousePosition = Mouse.GetPosition(this); 1013Point newPosition = Mouse.GetPosition(this);
System\Windows\Documents\ImmComposition.cs (1)
1620Point point = Mouse.GetPosition(RenderScope);
System\windows\Documents\TextEditorContextMenu.cs (3)
55Point renderScopeMouseDownPoint = Mouse.GetPosition(This.TextView.RenderScope); 105if (!TextEditorMouse.IsPointWithinInteractiveArea(This, Mouse.GetPosition(This.UiScope))) 209Point uiScopeMouseDownPoint = Mouse.GetPosition(This.UiScope);
System\windows\Documents\TextEditorMouse.cs (1)
395if (IsPointWithinInteractiveArea(This, Mouse.GetPosition(This.UiScope)))
System\windows\Documents\TextEditorTyping.cs (1)
1875TextPointer pointer = (TextPointer)This.TextView.GetTextPositionFromPoint(Mouse.GetPosition(This.TextView.RenderScope), false);
System\Windows\Documents\TextStore.cs (1)
2988Point point = Mouse.GetPosition(RenderScope);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1111Point position = Mouse.GetPosition(element);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
766itemBounds.Contains(Mouse.GetPosition(this)))