Returns the position of the gesture's starting point relative to a given UIElement.

Namespace:  C1.Phone
Assembly:  C1.Phone (in C1.Phone.dll)

Syntax

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

Parameters

relativeTo
Type: System.Windows..::..UIElement
The return value will be relative to this element.

Return Value

The gesture's starting point relative to the given UIElement.

See Also