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