Export (0) Print
Expand All

Control.MouseDoubleClick Event

Note: This event is new in the .NET Framework version 2.0.

Occurs when the control is double clicked by the mouse.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public event MouseEventHandler MouseDoubleClick
/** @event */
public void add_MouseDoubleClick (MouseEventHandler value)

/** @event */
public void remove_MouseDoubleClick (MouseEventHandler value)

JScript supports the use of events, but not the declaration of new ones.

The MouseDoubleClick event occurs when the user depresses a mouse button twice in quick succession when the cursor is over the control. The time interval that separates two single clicks from a double-click is determined by the mouse settings of the user's operating system.

The following series of events is raised by the control when such a user action takes place:

  1. MouseDown event.

  2. Click event.

  3. MouseClick event.

  4. MouseUp event.

  5. MouseDown event.

  6. DoubleClick event.

  7. MouseDoubleClick event.

  8. MouseUp event.

For this to occur, the various events cannot be disabled in the control's class.

NoteImportant:

DoubleClick events are logically higher-level events of a control. They may be raised by other user actions, such as shortcut key combinations.

For more information about handling events, see Consuming Events.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show:
© 2014 Microsoft