Gets the position of the touch point 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 virtual Point GetPosition(
	UIElement relativeTo
)
Visual Basic
Public Overridable Function GetPosition ( _
	relativeTo As UIElement _
) As Point
Visual C++
public:
virtual Point GetPosition(
	UIElement^ relativeTo
)

Parameters

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

Return Value

The touch point position relative to the given UIElement.

See Also