Gets the position of the pointer performing the drag gesture relatively to the specified element.
Syntax
'Declaration
Public Overloads Function GetPosition( _
ByVal As System.Windows.UIElement _
) As System.Windows.Point
'Usage
Dim instance As C1InputEventArgs
Dim relativeTo As System.Windows.UIElement
Dim value As System.Windows.Point
value = instance.GetPosition(relativeTo)
public System.Windows.Point GetPosition(
System.Windows.UIElement
)
Parameters
- 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