TabControl for WPF | ComponentOne
C1.WPF.TabControl Namespace / C1TabControl Class / SelectedIndex Property

In This Topic
    SelectedIndex Property
    In This Topic
    Gets or sets the index of the currently selected System.Windows.Controls.TabItem.
    Syntax
    'Declaration
     
    
    Public Property SelectedIndex As Integer
    public int SelectedIndex {get; set;}

    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