MouseDevice.GetClientPosition Method ()

 

Calculates the position of the mouse pointer, in client coordinates.

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

[SecurityCriticalAttribute]
[SecurityTreatAsSafeAttribute]
protected Point GetClientPosition()

Return Value

Type: System.Windows.Point

The position of the mouse pointer, in client coordinates.

.NET Framework
Available since 3.0
Return to top
Show: