[]
Returns a point relative to an element from a point in document coordinates.
public Point GetRelativePointFromPoint(UIElement root, Point point)
Public Function GetRelativePointFromPoint(root As UIElement, point As Point) As Point
| Type | Name | Description |
|---|---|---|
| UIElement | root | A UIElement to use as reference. |
| Point | point | A point in document coordinates. |
| Type | Description |
|---|---|
| Point | A point relative to an element from a point in document coordinates. |