RichTextBox for UWP | ComponentOne
C1.Xaml.RichTextBox Namespace / C1RichTextViewManager Class / GetPointFromPointerEvent Method
The root used as coordinate reference.
A Windows.UI.Xaml.Input.PointerRoutedEventArgs to get positions from.

In This Topic
    GetPointFromPointerEvent Method
    In This Topic
    Returns a point in document coordinates from the position of a mouse event.
    Syntax
    'Declaration
     
    Public Function GetPointFromPointerEvent( _
       ByVal root As UIElement, _
       ByVal pointerEvent As PointerRoutedEventArgs _
    ) As Point
    public Point GetPointFromPointerEvent( 
       UIElement root,
       PointerRoutedEventArgs pointerEvent
    )

    Parameters

    root
    The root used as coordinate reference.
    pointerEvent
    A Windows.UI.Xaml.Input.PointerRoutedEventArgs to get positions from.

    Return Value

    A point in document coordinates.
    See Also