Called when any mouse-down message enters the adorner window of the BehaviorService.
Assembly: System.Design (in System.Design.dll)
- Type: System.Windows.Forms.MouseButtons
A MouseButtons value indicating which button was clicked.
- Type: System.Drawing.Point
The location at which the click occurred.
Return ValueType: System.Boolean
true if the message was handled; otherwise, false.
The OnMouseDoubleClick method is called when any mouse-down message enters the WndProc of the adorner window of the BehaviorService. The message is first passed here, to the top-most Behavior in the behavior stack. Returning true from this method signifies that the message was handled by the Behavior and should not continue to be processed. From here, the message is sent to the appropriate behavior.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2