Gets the position of the pointer or finger.
Syntax
'Declaration
Public Overloads Shared Function GetPosition( _
ByVal As Windows.UI.Xaml.RoutedEventArgs, _
ByVal As Windows.UI.Xaml.UIElement _
) As Windows.Foundation.Point
public static Windows.Foundation.Point GetPosition(
Windows.UI.Xaml.RoutedEventArgs ,
Windows.UI.Xaml.UIElement
)
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