[]
        
(Showing Draft Content)

C1.WPF.C1ComboBox.MoveListBox

MoveListBox Method

MoveListBox(Key, int, out int)

Get the next item in the ListBox when a key is pressed. You may override this to implement your own keyboard selection strategy.

Declaration
protected virtual bool MoveListBox(Key key, int index, out int newIndex)
Parameters
Type Name Description
Key key

Key that was pressed.

int index

index that is currently selected.

int newIndex

The new selected index.

Returns
Type Description
bool

True if it is a handled key.