SelectedIndex Property (TabPanel)
In This Topic
Gets or sets the index of the currently selected (active) tab.
Syntax
'Declaration
<System.ComponentModel.DefaultValueAttribute(-1)>
Public Property SelectedIndex As System.Integer
'Usage
Dim instance As TabPanel
Dim value As System.Integer
instance.SelectedIndex = value
value = instance.SelectedIndex
[System.ComponentModel.DefaultValue(-1)]
public System.int SelectedIndex {get; set;}
public read-write property SelectedIndex: System.Integer;
System.ComponentModel.DefaultValueAttribute(-1)
public function get,set SelectedIndex : System.int
[System.ComponentModel.DefaultValue(-1)]
public: __property System.int get_SelectedIndex();
public: __property void set_SelectedIndex(
System.int value
);
[System.ComponentModel.DefaultValue(-1)]
public:
property System.int SelectedIndex {
System.int get();
void set ( System.int value);
}
See Also