Defines the side of the control where the tabs are displayed.
Namespace: Softelvdm.SftTabsNET
Assembly: Softelvdm.SftTabsNET
public enum TabPositionEnum;
Public Enum TabPositionEnum
| Name | Description |
|---|---|
| Top | The tabs are displayed above the tab pages. |
| Bottom | The tabs are displayed below the tab pages. |
| Left | The tabs are displayed to the left of the tab pages. |
| Right | The tabs are displayed to the right of the tab pages. |
Defines the side of the control where the tabs are displayed.
The SftTabs.TabPosition property uses this enumeration.
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;
}
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