System.Windows.Forms.Control.MouseLeave Event

Occurs when the mouse pointer leaves the control.

Syntax

public event EventHandler MouseLeave

Remarks

Mouse events occur in the following order:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]
Note:

The following events are not raised for the System.Windows.Forms.TabControl class unless there is at least one System.Windows.Forms.TabPage in the TabControl.TabPages collection: Control.Click, Control.DoubleClick, Control.MouseDown, Control.MouseUp, Control.MouseHover, Control.MouseEnter, Control.MouseLeave and Control.MouseMove. If there is at least one System.Windows.Forms.TabPage in the collection, and the user interacts with the tab control's header (where the System.Windows.Forms.TabPage names appear), the System.Windows.Forms.TabControl raises the appropriate event. However, if the user interaction is within the client area of the tab page, the System.Windows.Forms.TabPage raises the appropriate event.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0