MoveListBox Method (C1ComboBox)
In This Topic
Get the next item in the ListBox when a key is pressed. You may override this to implement your own keyboard selection strategy.
Syntax
'Declaration
Protected Overridable Function MoveListBox( _
ByVal As Key, _
ByRef As Integer _
) As Boolean
protected virtual bool MoveListBox(
Key ,
out int
)
Parameters
- key
- Key that was pressed.
- newIndex
- The new selected index.
Return Value
True if it is a handled key.
See Also