StylusEventArgs::GetPosition Method (IInputElement^)
.NET Framework (current version)
Gets the position of the stylus.
Assembly: PresentationCore (in PresentationCore.dll)
Parameters
- relativeTo
-
Type:
System.Windows::IInputElement^
The IInputElement that the (x,y) coordinates are mapped to.
Return Value
Type: System.Windows::PointA Point that represents the position of the stylus, based on the coordinates of relativeTo.
.NET Framework
Available since 3.0
Available since 3.0
Show: