System.Windows.Forms.Design.Behavior.Behavior.OnMouseLeave Method

Called when any mouse-leave message enters the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService.

Syntax

public virtual bool OnMouseLeave (Glyph g)

Parameters

g
A System.Windows.Forms.Design.Behavior.Glyph.

Returns

true if the message was handled; otherwise, false.

Remarks

The Behavior.OnMouseDoubleClick(Glyph, System.Windows.Forms.MouseButtons, System.Drawing.Point) method is called when any mouse-leave message enters the WndProc of the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService. From here, the message is sent to the appropriate behavior.

When the mouse pointer leaves a positively hit-tested System.Windows.Forms.Design.Behavior.Glyph with a valid System.Windows.Forms.Design.Behavior.Behavior, this method is invoked.

Requirements

Namespace: System.Windows.Forms.Design.Behavior
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 2.0.0.0