System.Windows.Forms.Design.Behavior.Behavior.OnMouseDoubleClick Method

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

Syntax

public virtual bool OnMouseDoubleClick (Glyph g, System.Windows.Forms.MouseButtons button, System.Drawing.Point mouseLoc)

Parameters

g
A System.Windows.Forms.Design.Behavior.Glyph.
button
A System.Windows.Forms.MouseButtons value indicating which button was clicked.
mouseLoc
The location at which the click 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 double-click 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