56 references to GetPosition
PresentationFramework (30)
src\Framework\MS\Internal\Ink\SelectionEditingBehavior.cs (2)
143
Point curPoint = args.
GetPosition
(InkCanvas.SelectionAdorner);
174
_previousRect = ChangeFeedbackRectangle(args.
GetPosition
(InkCanvas.SelectionAdorner));
src\Framework\MS\Internal\Ink\SelectionEditor.cs (2)
178
Point pointOnSelectionAdorner = args.
GetPosition
(InkCanvas.SelectionAdorner);
215
Point pointOnSelectionAdorner = args.
GetPosition
(InkCanvas.SelectionAdorner);
src\Framework\System\Windows\Controls\DataGridCheckBoxColumn.cs (1)
203
return checkBox.InputHitTest(((MouseButtonEventArgs)e).
GetPosition
(checkBox)) != null;
src\Framework\System\Windows\Controls\DatePicker.cs (1)
891
if (this._dropDownButton.InputHitTest(e.
GetPosition
(this._dropDownButton)) != null)
src\Framework\System\Windows\Controls\GridViewHeaderRowPresenter.cs (3)
417
PrepareHeaderDrag(header, e.
GetPosition
(this), e.
GetPosition
(header), false);
461
_currentPos = e.
GetPosition
(this);
src\Framework\System\Windows\Controls\MenuItem.cs (2)
1517
if (r.Contains(e.
GetPosition
(this)))
1545
if (r.Contains(e.
GetPosition
(this)))
src\Framework\System\Windows\Controls\Primitives\DataGridColumnHeadersPresenter.cs (5)
514
Point mousePosition = e.
GetPosition
(this);
523
PrepareColumnHeaderDrag(header, e.
GetPosition
(this), e.
GetPosition
(header));
544
_columnHeaderDragCurrentPosition = e.
GetPosition
(this);
588
_columnHeaderDragCurrentPosition = e.
GetPosition
(this);
src\Framework\System\Windows\Controls\Primitives\Thumb.cs (2)
234
_originThumbPoint = e.
GetPosition
(this);
301
Point thumbCoordPosition = e.
GetPosition
(this);
src\Framework\System\Windows\Documents\RubberbandSelector.cs (5)
606
FixedDocumentPage dp = GetFixedPanelDocumentPage(e.
GetPosition
(_scope));
622
_origin = e.
GetPosition
(_page);
637
ExtendSelection(e.
GetPosition
(_page));
654
ExtendSelection(e.
GetPosition
(_page));
661
if (_isSelecting || GetFixedPanelDocumentPage(e.
GetPosition
(_scope)) != null)
src\Framework\System\windows\Documents\TextEditorDragDrop.cs (1)
146
Point mouseDownPoint = e.
GetPosition
(_textEditor.TextView.RenderScope);
src\Framework\System\windows\Documents\TextEditorMouse.cs (6)
237
if (!IsPointWithinInteractiveArea(This, e.
GetPosition
(This.UiScope)))
247
Point mouseDownPoint = e.
GetPosition
(This.TextView.RenderScope);
358
Point mousePoint = e.
GetPosition
(This.TextView.RenderScope);
449
TextEditorMouse.UpdateCursor(This, e.
GetPosition
(This.TextView.RenderScope));
466
Point mouseMovePoint = e.
GetPosition
(This.TextView.RenderScope);
532
Point pointScroller = e.
GetPosition
((IInputElement)scroller);
System.Activities.Core.Presentation (5)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
450
bool endLinkCreation = !IsVisualHit(sender as UIElement, sender as UIElement, e.
GetPosition
(sender as IInputElement));
2046
Point mouseUpLocation = e.
GetPosition
(sender as IInputElement);
System\Activities\Core\Presentation\FlowchartResizeGrip.cs (1)
67
this.offset = e.
GetPosition
(this);
System\Activities\Core\Presentation\StateContainerEditor.xaml.cs (1)
1688
bool endLinkCreation = !IsVisualHit(sender as UIElement, sender as UIElement, e.
GetPosition
(sender as IInputElement));
System\Activities\Core\Presentation\StateContainerResizeGrip.cs (1)
97
this.offset = e.
GetPosition
(this);
System.Activities.Presentation (21)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\Controls\WorkaroundPopup.cs (1)
94
if (e.OriginalSource == this.Child && this.Child.InputHitTest(e.
GetPosition
(this.Child)) == null)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (2)
80
ConnectionPoint destConnPoint = FreeFormPanel.ConnectionPointHitTest(e.
GetPosition
(panel), destConnPtsAdorner);
93
points = ConnectorRouter.Route(panel, srcConnectionPoint, e.
GetPosition
(panel));
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (5)
480
SaveConnectorEditor(e.
GetPosition
(this));
499
connectorEditor.Update(e.
GetPosition
(this));
513
SaveConnectorEditor(e.
GetPosition
(this));
568
if ((connectorEditor != null) && connectorEditor.EditPointsHitTest(e.
GetPosition
(this)))
570
connectorEditor.Update(e.
GetPosition
(this));
System.Activities.Presentation\System\Activities\Presentation\MiniMap\MiniMapControl.xaml.cs (4)
331
Point pt = args.
GetPosition
(this.lookupCanvas);
358
VisualTreeHelper.HitTest(this.lookupCanvas, args.
GetPosition
(this.lookupCanvas));
362
Point clickedPosition = args.
GetPosition
(hitTest.VisualHit as IInputElement);
381
Point to = args.
GetPosition
(this.lookupCanvas);
System.Activities.Presentation\System\Activities\Presentation\View\AutoScrollHelper.cs (2)
31
AutoScroll(e.
GetPosition
(scrollViewer), scrollViewer, logicalView != null ? e.
GetPosition
(logicalView) : (Point?)null, logicalView,
System.Activities.Presentation\System\Activities\Presentation\View\DesignerView.xaml.cs (1)
1686
Point mousePosition = e.
GetPosition
(scrollViewer);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindow.cs (1)
323
Point position = e.
GetPosition
(this.border);
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionWindowResizeGrip.cs (1)
47
this.offset = e.
GetPosition
(this);
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (1)
204
if (dragHandleRect.Contains(e.
GetPosition
(this.Designer)))
System.Activities.Presentation\System\Activities\Presentation\WorkflowViewElement.cs (3)
599
this.lastMouseDownPoint = e.
GetPosition
(this);
626
this.lastMouseDownPoint = e.
GetPosition
(this);
756
Point newPosition = e.
GetPosition
(this);