HeaderPane
Main
Hide
Share Link
Print

Fixed Property, SftTabs Class

Defines whether all tabs have the same width.

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

Syntax

public bool Fixed { get; set; }
Public Property Fixed As Boolean

Value

True if all tabs have the same width, otherwise False.

The default value is False.

Comments

Defines whether all tabs have the same width.

Without scrolling, the tabs of a row share the row evenly. When the tabs scroll, each tab has the width of the widest tab, unless the SftTabs.TabsPerRow property defines how many tabs are shown at a time.

Examples

C# View entire sample code

            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;
            checkFixed.Checked = sftTabs1.Fixed;
            checkFill.Checked = sftTabs1.FillComplete;
            checkBold.Checked = sftTabs1.BoldSelected;
            checkFlyby.Checked = sftTabs1.FlybyHighlight;
            checkImages.Checked = true;
            checkReorder.Checked = sftTabs1.AllowReordering;
            checkButtons.Checked = sftTabs1.Buttons.CloseButton;
            checkToolTips.Checked = sftTabs1.ShowToolTips;

VB.NET View entire sample code

    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
    CheckFixed.Checked = SftTabs1.Fixed
    CheckFill.Checked = SftTabs1.FillComplete
    CheckBold.Checked = SftTabs1.BoldSelected
    CheckFlyby.Checked = SftTabs1.FlybyHighlight
    CheckImages.Checked = True
    CheckReorder.Checked = SftTabs1.AllowReordering
    CheckButtons.Checked = SftTabs1.Buttons.CloseButton
    CheckToolTips.Checked = SftTabs1.ShowToolTips

See Also SftTabs Class | Classes | SftTabs/NET 3.0