Method OnListBoxDoubleClick
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
senderobjectThe source of the event, typically the list box that was double-clicked.
eEventArgsAn 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.