HeaderPane
Main
Hide
Share Link
Print

TabTextOrientationEnum Enumeration

Defines the orientation of the tab text.

Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET

Syntax

public enum TabTextOrientationEnum;
Public Enum TabTextOrientationEnum

Values

NameDescription
DefaultThe text is vertical for tabs on the left or right side of the control and horizontal otherwise.
HorizontalThe text is always horizontal.
VerticalThe text is always vertical.

Comments

Defines the orientation of the tab text.

The SftTabs.TextOrientation property uses this enumeration.

Examples

C# View entire sample code

        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;
        }

        private void comboAlignment_SelectedIndexChanged(object sender, EventArgs e) {
            if (loading) return;
            sftTabs1.TabAlignment = (TabAlignmentEnum)comboAlignment.SelectedItem;
        }

VB.NET View entire sample code

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

Private Sub ComboAlignment_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboAlignment.SelectedIndexChanged
    If loading Then Return
    SftTabs1.TabAlignment = CType(ComboAlignment.SelectedItem, TabAlignmentEnum)
End Sub

See Also Classes | SftTabs/NET 3.0