[]
Get the next item in the ListBox when a key is pressed. You may override this to implement your own keyboard selection strategy.
protected virtual bool MoveListBox(Key key, int index, out int newIndex)
Type | Name | Description |
---|---|---|
Key | key | Key that was pressed. |
int | index | index that is currently selected. |
int | newIndex | The new selected index. |
Type | Description |
---|---|
bool | True if it is a handled key. |