'Declaration
Public Overloads Shared Function GetPosition( _ ByVal args As RoutedEventArgs, _ ByVal relativeTo As FrameworkElement _ ) As Point
public static Point GetPosition( RoutedEventArgs args, FrameworkElement relativeTo )
Parameters
- args
- The OriginalEventArgs instance containing the manipulation data.
- relativeTo
- Any visual 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.