EnvironmentBase.GetMousePosition (TouchEventArgs) Method

Gets the mouse position from the TouchEventArgs.
Public Function GetMousePosition( _ 
ByVal e As TouchEventArgs
) As Point
This language is not supported or no code example is available.
public Point GetMousePosition( 
TouchEventArgs e 
)
This language is not supported or no code example is available.

Parameters

e
TouchEventArgs

The event arguments

Return Value

Point

The mouse position

Remarks
 

When using Renderer different from rendererType.Native, use this method to get the mouse position in event handlers.

The returned point is adjusted for DPI scaling.

.NET Framework

Supported in: 4.8

In this article

Definition