HeaderPane
Main
Hide
Share Link
Print

SelectedIndex Property, SftTabs Class

Defines the selected tab by its position in the SftTabs.Tabs collection.

Class: SftTabs
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Syntax

public int SelectedIndex { get; set; }
Public Property SelectedIndex As Integer

Value

The zero-based index, or -1 for no selection.

Comments

Defines the selected tab by its position in the SftTabs.Tabs collection.

The SftTabs.Switching event can cancel or redirect the selection. A hidden tab cannot be selected.

Until a tab is selected, the control selects the first visible, enabled tab by itself. After the property is set to -1, the control has no selected tab until a tab is selected again.

See Also SftTabs Class | Classes | SftTabs/NET 3.0