ComponentOne Basic Library for WPF and Silverlight
SelectedIndex Property (C1TabControl)


C1.WPF Namespace > C1TabControl Class : SelectedIndex Property
Gets or sets the index of the currently selected System.Windows.Controls.TabItem.
Syntax
'Declaration
 
Public Property SelectedIndex As System.Integer
'Usage
 
Dim instance As C1TabControl
Dim value As System.Integer
 
instance.SelectedIndex = value
 
value = instance.SelectedIndex
public System.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

Reference

C1TabControl Class
C1TabControl Members