HeaderPane
Main
Hide
Share Link
Print

Tabs Property, SftTabs Class

The tabs of the control.

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

Syntax

public TabCollectionClass Tabs { get; }
Public ReadOnly Property Tabs As TabCollectionClass

Value

The TabCollectionClass instance.

Comments

The tabs of the control.

The tabs are saved with the control's contents (SftTabs.Contents property).

Examples

C# View entire sample code

            checkBold.Checked = sftTabs1.BoldSelected;
            checkFlyby.Checked = sftTabs1.FlybyHighlight;
            checkImages.Checked = true;
            checkReorder.Checked = sftTabs1.AllowReordering;
            checkButtons.Checked = sftTabs1.Buttons.CloseButton;
            checkToolTips.Checked = sftTabs1.ShowToolTips;
            loading = false;

            foreach (TabClass tab in sftTabs1.Tabs) {
                if (tab.Image != null)
                    tabImages.Add(tab, tab.Image);
            }
            UpdateOptions();
        }

        private void FillCombo(ComboBox combo, object current) {

VB.NET View entire sample code

    CheckBold.Checked = SftTabs1.BoldSelected
    CheckFlyby.Checked = SftTabs1.FlybyHighlight
    CheckImages.Checked = True
    CheckReorder.Checked = SftTabs1.AllowReordering
    CheckButtons.Checked = SftTabs1.Buttons.CloseButton
    CheckToolTips.Checked = SftTabs1.ShowToolTips
    loading = False

    For Each tab As TabClass In SftTabs1.Tabs
        If tab.Image IsNot Nothing Then
            tabImages.Add(tab, tab.Image)
        End If
    Next
    UpdateOptions()
End Sub

See Also SftTabs Class | Classes | SftTabs/NET 3.0