Table of Contents

Method OnListBoxDoubleClick

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

OnListBoxDoubleClick(object?, EventArgs)

Handles the double-click event on the inner list box, toggling the expanded state of the selected item while preserving its position and selection.

protected virtual void OnListBoxDoubleClick(object? sender, EventArgs e)

Parameters

sender object

The source of the event, typically the list box that was double-clicked.

e EventArgs

An EventArgs instance containing the event data.

Remarks

This method is called when a double-click event occurs on the inner list box. Derived classes can override this method to provide custom handling for the double-click event. When overriding, ensure the base method is called to maintain the default behavior.