HeaderPane
Main
Hide
Share Link
Print

TabPosition Property, SftTabs Class

Defines the side of the control where the tabs are displayed.

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

Syntax

public TabPositionEnum TabPosition { get; set; }
Public Property TabPosition As TabPositionEnum

Value

The side of the control.

The default value is TabPositionEnum.Top.

Comments

Defines the side of the control where the tabs are displayed.

Examples

C# View entire sample code

        public Form1() {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e) {
            // the options show the properties as they were defined in the designer
            loading = true;
            FillCombo(comboLook, sftTabs1.Look);
            FillCombo(comboPosition, sftTabs1.TabPosition);
            FillCombo(comboOrientation, sftTabs1.TextOrientation);
            FillCombo(comboAlignment, sftTabs1.TabAlignment);
            FillCombo(comboCloseButton, sftTabs1.TabCloseButton);
            FillCombo(comboDarkMode, sftTabs1.DarkMode);
            FillCombo(comboLayout, sftTabs1.LayoutMode);
            checkScrolling.Checked = sftTabs1.Scrolling.Enabled;
            numericRows.Value = sftTabs1.Rows;

VB.NET View entire sample code

Private minimized As Boolean = False
Private addedTabs As Integer = 0
Private tabImages As New Dictionary(Of TabClass, Image)

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    ' the options show the properties as they were defined in the designer
    loading = True
    FillCombo(ComboLook, SftTabs1.Look)
    FillCombo(ComboPosition, SftTabs1.TabPosition)
    FillCombo(ComboOrientation, SftTabs1.TextOrientation)
    FillCombo(ComboAlignment, SftTabs1.TabAlignment)
    FillCombo(ComboCloseButton, SftTabs1.TabCloseButton)
    FillCombo(ComboDarkMode, SftTabs1.DarkMode)
    FillCombo(ComboLayout, SftTabs1.LayoutMode)
    CheckScrolling.Checked = SftTabs1.Scrolling.Enabled
    NumericRows.Value = SftTabs1.Rows

See Also SftTabs Class | Classes | SftTabs/NET 3.0