[]
        
(Showing Draft Content)

C1.WPF.RichTextBox.C1RichTextViewManager.GetPointFromMouseEvent

GetPointFromMouseEvent Method

GetPointFromMouseEvent(UIElement, MouseEventArgs)

Returns a point in document coordinates from the position of a mouse event.

Declaration
public Point GetPointFromMouseEvent(UIElement root, MouseEventArgs mouseEvent)
Parameters
Type Name Description
UIElement root

The root used as coordinate reference.

MouseEventArgs mouseEvent

A MouseEventArgs to get positions from.

Returns
Type Description
Point

A point in document coordinates.