Gets the position of the pointer performing the drag gesture relatively to the specified element.

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
Any UIElement-derived object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null.

Return Value

See Also