HeaderPane
Main
Hide
Share Link
Print

Tab Looks

The SftTabs.Look property defines the appearance of the tabs and the tab pages (see TabLookEnum). Every look supports all four tab positions, scrollable tabs and multiple tab rows.

Themed Look

With TabLookEnum.Themed (the default), the tabs are drawn using the current Windows theme, so the control looks like the tab controls of Windows itself. If Windows themes are not available, the tabs are drawn like the Standard look; in dark mode they are drawn like the Flat look.

Themed Look

Standard Look

With TabLookEnum.Standard, the tabs are classic three-dimensional tabs.

Standard Look

Flat Look

With TabLookEnum.Flat, the tabs are flat, with a single border line. The selected tab joins the frame of the tab page.

Flat Look

Buttons Look

With TabLookEnum.Buttons, the tabs are drawn as buttons.

Buttons Look

Underline Look

With TabLookEnum.Underline, the tabs have no borders. A bar in the accent color marks the selected tab.

Underline Look

Document Look

With TabLookEnum.Document, the tabs are flat and rectangular. The selected tab is filled with the accent color, which continues as a band along the tab pages.

Document Look

Rounded Look

With TabLookEnum.Rounded, the tabs are flat, with rounded outer corners. The selected tab joins the frame of the tab page.

Rounded Look

Pills Look

With TabLookEnum.Pills, the tabs are drawn as separate capsules. The selected tab is filled with the accent color.

Pills Look

Accent Color and Other Colors

The SftTabs.AccentColor property defines the color that marks the selected tab in the Underline, Document and Pills looks. If it is not defined, the system's highlight color is used.

The colors used by a look can be replaced, for all tabs or for individual tabs (see Colors).

Multiple Rows

With multiple rows of tabs, most looks move the row holding the selected tab next to the tab pages. In the Buttons, Underline and Pills looks, the row holding the selected tab stays in place (see Multiple Rows).

Selected Tab

The SftTabs.BoldSelected property defines whether the text of the selected tab is bold. The SftTabs.ShowFocusRectangle property defines whether the selected tab shows a focus rectangle while the control has the input focus.

See Also Tab Control Components