[]
Returns a point relative to an element from a point in document coordinates.
public Point GetRelativePointFromPoint(UIElement root, Point 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. |