Basic Library for WPF and Silverlight | ComponentOne
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
    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