HeaderPane
Main
Hide
Share Link
Print

TabPositionEnum Enumeration

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

Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Syntax

public enum TabPositionEnum;
Public Enum TabPositionEnum

Values

NameDescription
TopThe tabs are displayed above the tab pages.
BottomThe tabs are displayed below the tab pages.
LeftThe tabs are displayed to the left of the tab pages.
RightThe tabs are displayed to the right of the tab pages.

Comments

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

The SftTabs.TabPosition property uses this enumeration.

Examples

C# View entire sample code

            if (loading) return;
            sftTabs1.Look = (TabLookEnum)comboLook.SelectedItem;
            UpdateOptions();
        }

        private void comboPosition_SelectedIndexChanged(object sender, EventArgs e) {
            if (loading) return;
            RestorePages();
            sftTabs1.TabPosition = (TabPositionEnum)comboPosition.SelectedItem;
        }

        private void comboOrientation_SelectedIndexChanged(object sender, EventArgs e) {
            if (loading) return;
            sftTabs1.TextOrientation = (TabTextOrientationEnum)comboOrientation.SelectedItem;
        }

VB.NET View entire sample code

    If loading Then Return
    SftTabs1.Look = CType(ComboLook.SelectedItem, TabLookEnum)
    UpdateOptions()
End Sub

Private Sub ComboPosition_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboPosition.SelectedIndexChanged
    If loading Then Return
    RestorePages()
    SftTabs1.TabPosition = CType(ComboPosition.SelectedItem, TabPositionEnum)
End Sub

Private Sub ComboOrientation_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboOrientation.SelectedIndexChanged
    If loading Then Return
    SftTabs1.TextOrientation = CType(ComboOrientation.SelectedItem, TabTextOrientationEnum)
End Sub

See Also Classes | SftTabs/NET 3.0