Returns the position of a given point relative to a given UIElement.
Namespace:
C1.SilverlightAssembly: 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.