ArcGIS API for Windows Phone - Library Reference
GetPosition Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client Namespace > Map.MapGestureEventArgs Class : GetPosition Method

relativeTo
The element to use as the frame of reference for calculating the position of the mouse pointer.
Returns the position of the mouse pointer relative to the specified element.

Syntax

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

Parameters

relativeTo
The element to use as the frame of reference for calculating the position of the mouse pointer.

Return Value

The x- and y-coordinates of the mouse pointer position relative to the specified object.

Requirements

Target Platforms:Windows Phone 7

See Also

© ESRI, Inc. All Rights Reserved.