ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1ComboBox Class / MoveListBox Method
Key that was pressed.
index that is currently selected.
The new selected index.



In This Topic
    MoveListBox Method
    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, _
       ByVal index As Integer, _
       ByRef newIndex As Integer _
    ) As Boolean
    'Usage
     
    
    Dim instance As C1ComboBox
    Dim key As Key
    Dim index As Integer
    Dim newIndex As Integer
    Dim value As Boolean
     
    value = instance.MoveListBox(key, index, newIndex)
    protected virtual bool MoveListBox( 
       Key key,
       int index,
       out int newIndex
    )
    protected:
    virtual bool MoveListBox( 
       Key key,
       int index,
       [Out] int newIndex
    ) 

    Parameters

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

    Return Value

    True if it is a handled key.
    See Also