'Declaration
Public Overloads Shared Function GetPosition( _ ByVal args As RoutedEventArgs, _ ByVal relativeTo As UIElement _ ) As Point
'Usage
Dim args As RoutedEventArgs Dim relativeTo As UIElement Dim value As Point value = C1InputEventArgs.GetPosition(args, relativeTo)
public static Point GetPosition( RoutedEventArgs args, UIElement relativeTo )
public: static Point GetPosition( RoutedEventArgs^ args, UIElement^ relativeTo )
Parameters
- args
- The System.Windows.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.