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