GetClientPosition Method (PresentationSource)
Collapse the table of content
Expand the table of content

MouseDevice.GetClientPosition Method (PresentationSource)

 

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

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

protected Point GetClientPosition(
	PresentationSource presentationSource
)

Parameters

presentationSource
Type: System.Windows.PresentationSource

The source in which to obtain the mouse position.

Return Value

Type: System.Windows.Point

The position of the mouse pointer, in client coordinates, in the specified PresentationSource.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft