Environment.GetViewportUnderMouse Method

Returns the viewport under the given mouse position.
Protected Friend Overridable Function GetViewportUnderMouse( _ 
ByVal mousePos As Point
) As Integer
This language is not supported or no code example is available.
internal protected virtual int GetViewportUnderMouse( 
Point mousePos 
)
This language is not supported or no code example is available.

Parameters

mousePos
Point

The mouse position

Return Value

int

The viewport under the mouse.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition