C1.WPF Namespace > C1InputEventArgs Class > GetPosition Method : GetPosition(RoutedEventArgs,UIElement) Method |
'Declaration
Public Overloads Shared Function GetPosition( _ ByVal args As System.Windows.RoutedEventArgs, _ ByVal relativeTo As System.Windows.UIElement _ ) As System.Windows.Point
'Usage
Dim args As System.Windows.RoutedEventArgs Dim relativeTo As System.Windows.UIElement Dim value As System.Windows.Point value = C1InputEventArgs.GetPosition(args, relativeTo)
public static System.Windows.Point GetPosition( System.Windows.RoutedEventArgs args, System.Windows.UIElement relativeTo )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2