Defines the orientation of the tab text.
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET
public enum TabTextOrientationEnum;
Public Enum TabTextOrientationEnum
| Name | Description |
|---|---|
| Default | The text is vertical for tabs on the left or right side of the control and horizontal otherwise. |
| Horizontal | The text is always horizontal. |
| Vertical | The text is always vertical. |
Defines the orientation of the tab text.
The SftTabs.TextOrientation property uses this enumeration.
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;
}
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