System.Windows.Forms.ToolStripItem.DoubleClick Event

Occurs when the item is double-clicked with the mouse.

Syntax

public event EventHandler DoubleClick

Remarks

A double-click is determined by the mouse settings of the user's operating system. The user can set the time between clicks of a mouse button that should be considered a double-click rather than two clicks. The ToolStripItem.Click event is raised every time a control is double-clicked. For example, if you have two event handlers for the ToolStripItem.Click and ToolStripItem.DoubleClick events of a System.Windows.Forms.Form, the ToolStripItem.Click and ToolStripItem.DoubleClick events are raised when the form is double-clicked and both methods are called. If an item is double-clicked that does not support the ToolStripItem.DoubleClick event, the ToolStripItem.Click event might be raised twice.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0