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

Namespace:  C1.Silverlight
Assembly:  C1.Silverlight (in C1.Silverlight.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