Table of Contents

Method OnListBoxMouseDown

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

OnListBoxMouseDown(object?, MouseEventArgs)

Handles the MouseDown event for the inner ListBox.

protected virtual void OnListBoxMouseDown(object? sender, MouseEventArgs e)

Parameters

sender object

The source of the event, typically the ListBox.

e MouseEventArgs

A MouseEventArgs that contains the event data.

Remarks

By default, this method determines whether the mouse click occurred on a checkbox or an item in the inner ListBox. If the click is on a checkbox or the item supports expansion on click, the item's expanded state is toggled.