[]
        
(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)
Protected Overridable Function MoveListBox(key As Key, index As Integer, ByRef newIndex As Integer) As Boolean
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.