Sparkline for UWP | ComponentOne
C1.UWP Assembly / C1.Xaml Namespace / C1InputEventArgs Class / GetPosition Method / GetPosition(RoutedEventArgs,UIElement) Method
The Windows.UI.Xaml.RoutedEventArgs instance containing the manipulation data.
Any UIElement-derived object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null.

In This Topic
    GetPosition(RoutedEventArgs,UIElement) Method
    In This Topic
    Gets the position of the pointer or finger.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetPosition( _
       ByVal args As RoutedEventArgs, _
       ByVal relativeTo As UIElement _
    ) As Point
    public static Point GetPosition( 
       RoutedEventArgs args,
       UIElement relativeTo
    )

    Parameters

    args
    The Windows.UI.Xaml.RoutedEventArgs instance containing the manipulation data.
    relativeTo
    Any UIElement-derived object that is connected to the same object tree. To specify the object relative to the overall coordinate system, use a relativeTo value of null.
    See Also