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)
113uiScopeMouseDownPoint = Mouse.GetPosition(documentGrid);
System\Windows\Controls\DataGrid.cs (6)
4813_dragPoint = Mouse.GetPosition(this); 6261Point currentMousePosition = Mouse.GetPosition(this); 6442Point pt = Mouse.GetPosition(row); 6562Point pt = Mouse.GetPosition(cell); 6572Point rowPt = Mouse.GetPosition(rowOwner); 6664Point pt = Mouse.GetPosition(itemsHost);
System\Windows\Controls\DataGridTextColumn.cs (1)
189if ((mouseArgs == null) || !PlaceCaretOnTextBox(textBox, Mouse.GetPosition(textBox)))
System\Windows\Controls\ItemsControl.cs (1)
3372Point mousePosition = Mouse.GetPosition(relativeTo);
System\Windows\Controls\MenuItem.cs (1)
869itemBounds.Contains(Mouse.GetPosition(this)))
System\Windows\Controls\Primitives\Popup.cs (1)
3040Point pt = Mouse.GetPosition(relativeTarget);
System\Windows\Controls\Primitives\Selector.cs (2)
1019_lastMousePosition = Mouse.GetPosition(this); 1026Point newPosition = Mouse.GetPosition(this);
System\Windows\Documents\ImmComposition.cs (1)
1642Point point = Mouse.GetPosition(RenderScope);
System\windows\Documents\TextEditorContextMenu.cs (3)
58Point renderScopeMouseDownPoint = Mouse.GetPosition(This.TextView.RenderScope); 108if (!TextEditorMouse.IsPointWithinInteractiveArea(This, Mouse.GetPosition(This.UiScope))) 212Point uiScopeMouseDownPoint = Mouse.GetPosition(This.UiScope);
System\windows\Documents\TextEditorMouse.cs (1)
413if (IsPointWithinInteractiveArea(This, Mouse.GetPosition(This.UiScope)))
System\windows\Documents\TextEditorTyping.cs (1)
1897TextPointer pointer = (TextPointer)This.TextView.GetTextPositionFromPoint(Mouse.GetPosition(This.TextView.RenderScope), false);
System\Windows\Documents\TextStore.cs (1)
3004Point point = Mouse.GetPosition(RenderScope);
System.Windows.Controls.Ribbon (2)
Microsoft\Windows\Controls\Ribbon\RibbonHelper.cs (1)
1119Point position = Mouse.GetPosition(element);
Microsoft\Windows\Controls\Ribbon\RibbonMenuItem.cs (1)
773itemBounds.Contains(Mouse.GetPosition(this)))