Method OnListBoxMouseDown
OnListBoxMouseDown(object?, MouseEventArgs)
protected virtual void OnListBoxMouseDown(object? sender, MouseEventArgs e)
Parameters
senderobjectThe source of the event, typically the ListBox.
eMouseEventArgsA 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.