Basic Library for WPF and Silverlight | ComponentOne
C1.Silverlight Namespace / C1ComboBox Class / MoveListBox Method
Key that was pressed.
The new selected index.

In This Topic
    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 key As Key, _
       ByRef newIndex As Integer _
    ) As Boolean
    protected virtual bool MoveListBox( 
       Key key,
       out int newIndex
    )

    Parameters

    key
    Key that was pressed.
    newIndex
    The new selected index.

    Return Value

    True if it is a handled key.
    See Also