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



In This Topic
    SelectedIndex Property (C1TabControl)
    In This Topic
    Gets or sets the index of the currently selected System.Windows.Controls.TabItem.
    Syntax
    'Declaration
     
    
    Public Property SelectedIndex As Integer
    'Usage
     
    
    Dim instance As C1TabControl
    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);
    }

    Property Value

    The index of the currently selected System.Windows.Controls.TabItem, or -1 if a System.Windows.Controls.TabItem is not selected.
    See Also