return a absolute position according to the relative position of element

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

Syntax

C#
public static Point GetPosition(
	UIElement element,
	Point point
)
Visual Basic
Public Shared Function GetPosition ( _
	element As UIElement, _
	point As Point _
) As Point

Parameters

element
Type: System.Windows..::..UIElement
the given element
point
Type: System.Windows..::..Point
the given relative position

Return Value

See Also