Get the next item in the ListBox when a key is pressed.
You may override this to implement your own keyboard selection strategy.
Namespace:
C1.SilverlightAssembly: C1.Silverlight (in C1.Silverlight.dll)
Syntax
C# |
---|
protected virtual bool MoveListBox( Key key, out int newIndex ) |
Visual Basic |
---|
Protected Overridable Function MoveListBox ( _ key As Key, _ <OutAttribute> ByRef newIndex As Integer _ ) As Boolean |
Parameters
- key
- Type: System.Windows.Input..::..Key
Key that was pressed.
- newIndex
- Type: System..::..Int32%
The new selected index.