Returns the current touch position relative to the given UIElement.

Namespace: Mindscape.PhoneElements
Assembly: Mindscape.PhoneElements (in Mindscape.PhoneElements.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public override Point GetPosition(
	UIElement relativeTo
)
Visual Basic
Public Overrides Function GetPosition ( _
	relativeTo As UIElement _
) As Point
Visual C++
public:
virtual Point GetPosition(
	UIElement^ relativeTo
) override

Parameters

relativeTo
Type: System.Windows..::..UIElement
The UIElement to derive the touch position.

Return Value

The current touch position relative to the given UIElement.

See Also