ArcGIS Runtime SDK for WPF - Library Reference
GetPosition Method
See Also 
ESRI.ArcGIS.Client Namespace > GraphicMouseEventArgs Class : GetPosition Method

relativeTo
Returns the x- and y-coordinates of the mouse pointer position, optionally evaluated against a coordinate origin of a supplied System.Windows.UIElement.

Syntax

Visual Basic (Declaration) 
Public Function GetPosition( _
   ByVal relativeTo As UIElement _
) As Point
C# 
public Point GetPosition( 
   UIElement relativeTo
)

Parameters

relativeTo

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.