[]
Returns a point in document coordinates from the position of a mouse event.
public Point GetPointFromMouseEvent(UIElement root, MouseEventArgs mouseEvent)
Type | Name | Description |
---|---|---|
UIElement | root | The root used as coordinate reference. |
MouseEventArgs | mouseEvent | A MouseEventArgs to get positions from. |
Type | Description |
---|---|
Point | A point in document coordinates. |