HeaderPane
Main
Hide
Share Link
Print

Tab Position and Text Orientation

The tabs can be displayed on any of the four sides of the control. The SftTabs.TabPosition property defines the side (see TabPositionEnum). All tab looks, multiple rows of tabs, scrolling and the Close, Minimize and Restore buttons are available on all four sides.

Tabs at the Top

With TabPositionEnum.Top (the default), the tabs are displayed above the tab pages.

Tabs at the Top

Tabs at the Bottom

With TabPositionEnum.Bottom, the tabs are displayed below the tab pages.

Tabs at the Bottom

Tabs on the Left

With TabPositionEnum.Left, the tabs are displayed to the left of the tab pages. The text of the tabs is vertical, reading from the bottom to the top, unless the text orientation is changed.

Tabs on the Left

Tabs on the Right

With TabPositionEnum.Right, the tabs are displayed to the right of the tab pages. The text of the tabs is vertical, reading from the top to the bottom, unless the text orientation is changed.

Tabs on the Right

Text Orientation

The SftTabs.TextOrientation property defines the orientation of the tab text (see TabTextOrientationEnum). With TabTextOrientationEnum.Default, the text is vertical for tabs on the left or right side of the control and horizontal for tabs at the top or bottom, as shown above.

Horizontal Text

With TabTextOrientationEnum.Horizontal, the text is always horizontal. Tabs on the left or right side of the control are then stacked like a list, which leaves room for longer text.

Horizontal Text

Vertical Text

With TabTextOrientationEnum.Vertical, the text is always vertical. Tabs at the top or bottom of the control then take up less room along the tab row, so more tabs fit.

Vertical Text

Tab Alignment

The SftTabs.TabAlignment property defines where the tabs are located within the tab row (see TabAlignmentEnum). With TabAlignmentEnum.Near (the default), the tabs start at the left (or top) end of the tab row. With TabAlignmentEnum.Far, the tabs end at the right (or bottom) end of the tab row.

Tab Alignment

Margins

The SftTabs.MarginNear property defines the space before the first tab and the SftTabs.MarginFar property the space after the last tab. The SftTabs.TabPadding property defines the space between the edges of a tab and its contents.

See Also Tab Control Components