System.Windows.Forms.Design.Behavior.Behavior.OnMouseHover Method

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

Syntax

public virtual bool OnMouseHover (Glyph g, System.Drawing.Point mouseLoc)

Parameters

g
A System.Windows.Forms.Design.Behavior.Glyph.
mouseLoc
The location at which the hover occurred.

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-hover message enters the WndProc of the adorner window of the System.Windows.Forms.Design.Behavior.BehaviorService. The message is first passed here, to the top-most System.Windows.Forms.Design.Behavior.Behavior in the behavior stack. Returning true from this method signifies that the message was handled by the System.Windows.Forms.Design.Behavior.Behavior and should not continue to be processed. From here, the message is sent to the appropriate behavior.

Requirements

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