HeaderPane
Main
Hide
Share Link
Print

ItemDoubleClick Event, ListClass Class

Occurs when an item, cell or part is double-clicked.

Class: ListClass
Namespace: Softelvdm.SftBoxNET
Assembly: Softelvdm.SftBoxNET

Syntax

public event ItemDoubleClickEventHandler ItemDoubleClick;
Public Event ItemDoubleClick As ItemDoubleClickEventHandler

Comments

Occurs when an item, cell or part is double-clicked.

Please note that the ItemDoubleClick event reflects mouse button events. The SelectionChanged event should be used when selection changes need to be tracked, as these can also occur through keyboard input, which is not reflected by the ItemDoubleClick event.

The ItemDoubleClick event supplies all the necessary information to the application, so appropriate action can be taken. The application can start cell editing, expand or collapse an item or display application specific information based on the event and the area clicked.

The ItemDoubleClick event can be used to respond to a mouse button that is pressed twice within a short time. An ItemDoubleClick event is always preceded by an ItemClick event. If the pause between mouse clicks is longer than the system's double-click time, a second ItemClick event occurs instead of the ItemDoubleClick event.

If the ItemDoubleClick event is used to display a context sensitive menu (popup menu), the SoftelvdmUserControl.CancelMode method must be used before displaying the context menu.

See Also ListClass Class | Classes | SftBox/NET 3.0