SystemInformation.MouseHoverTime Property

 

Gets the time, in milliseconds, that the mouse pointer has to stay in the hover rectangle before a mouse hover message is generated.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

static member MouseHoverTime : int with get

Property Value

Type: System.Int32

The time, in milliseconds, that the mouse pointer has to stay in the hover rectangle before a mouse hover message is generated.

The MouseHoverTime property indicates the amount of time, in milliseconds, that a mouse pointer must remain within an area the size of the MouseHoverSize property in order to generate a mouse hover message.

The MouseHoverSize property indicates the size of the rectangle within which the mouse pointer has to stay for the mouse hover time before a mouse hover message is generated.

The following code example lists all properties of the SystemInformation class in a ListBox and displays the current value of the property in a TextBox when a list item selected.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: