Returns a point in document coordinates from a point relative to a UIElement.
Namespace:
C1.Phone.RichTextBoxAssembly: C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)
Syntax
C# |
---|
public Point GetPointFromRelativePoint( UIElement root, Point point ) |
Visual Basic |
---|
Public Function GetPointFromRelativePoint ( _ root As UIElement, _ point As Point _ ) As Point |
Parameters
- root
- Type: System.Windows..::..UIElement
The UIElement where point is relative to.
- point
- Type: System.Windows..::..Point
A Point in the coordinates of root.