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