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