'Declaration
Public Function GetPosition( _ ByVal relativeTo As UIElement _ ) As Point
public Point GetPosition( UIElement relativeTo )
Parameters
- relativeTo
- System.Windows.UIElement that determines the coordinate system of the return value.
Return Value
A System.Windows.Point that contains the mouse coordinates relative to the System.Windows.UIElement specified by the relativeTo parameter.