ComponentOne FinancialChart for WPF
C1.WPF Namespace / C1ComboBox Class / SelectedIndex Property



In This Topic
    SelectedIndex Property (C1ComboBox)
    In This Topic
    Gets or sets the current selected index or returns -1 if there is no selection, or the selection doesn't belong to the Items collection.
    Syntax
    'Declaration
     
    
    Public Property SelectedIndex As Integer
    'Usage
     
    
    Dim instance As C1ComboBox
    Dim value As Integer
     
    instance.SelectedIndex = value
     
    value = instance.SelectedIndex
    public int SelectedIndex {get; set;}
    public:
    property int SelectedIndex {
       int get();
       void set (    int value);
    }
    See Also