Table of Contents

Method OnListBoxRightKeyDown

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

OnListBoxRightKeyDown(KeyEventArgs)

Handles the right arrow key press event for the inner list box, expanding the selected item if it has child items.

protected virtual void OnListBoxRightKeyDown(KeyEventArgs e)

Parameters

e KeyEventArgs

The KeyEventArgs instance containing the event data.

Remarks

If the currently selected item has child items and is not already expanded, this method expands the item and suppresses further processing of the key event. This method is intended to be overridden in derived classes to customize the behavior of the right arrow key press.