Returns a point relative to an element from a point in document coordinates.
Namespace:
C1.Phone.RichTextBoxAssembly: C1.Phone.RichTextBox (in C1.Phone.RichTextBox.dll)
Syntax
C# |
---|
public Point GetRelativePointFromPoint( UIElement root, Point point ) |
Visual Basic |
---|
Public Function GetRelativePointFromPoint ( _ root As UIElement, _ point As Point _ ) As Point |
Parameters
- root
- Type: System.Windows..::..UIElement
A UIElement to use as reference.
- point
- Type: System.Windows..::..Point
A point in document coordinates.