Returns the position of a given point relative to a given UIElement.

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

Syntax

C#
protected static Point GetPosition(
	UIElement relativeTo,
	Point point
)
Visual Basic
Protected Shared Function GetPosition ( _
	relativeTo As UIElement, _
	point As Point _
) As Point

Parameters

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

Return Value

The given point relative to the given UIElement.

See Also