HypernovaDesktop Components · docs
Binarymission
WPF › Tab Control › TabControlRenderingMode

TabControlRenderingMode

enum.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Containers

The built-in shapes and styles a TabControl can draw its tabs in.

public enum TabControlRenderingMode

Remarks

Set one with TabControl.RenderingMode. The classic modes (TabControlRenderingMode.Default to TabControlRenderingMode.Diamond) colour the tabs with TabControl.TabItemPathBrush, TabControl.TabItemSelectedFill and the hover brushes; the modern ones from TabControlRenderingMode.Pill onwards are flatter and mark the selected tab with TabControl.TabItemAccentBrush or with the page colour.

Members at a glance

Members
BackstageFlat, square tabs in the style of an application backstage menu; the selected tab is filled with TabControl.TabItemAccentBrush.
BrowserBrowser-style tabs: rounded outer corners, thin separators, and a selected tab that joins the content.
CardFolder-card tabs; the selected card is raised, shadowed and joins the content.
CustomTabs drawn with the template in TabControl.TabItemControlTemplate that you supply. Until one is set, the tabs are drawn as in TabControlRenderingMode.Default.
DefaultTabs with a curved, sloping right-hand edge, filled with TabControl.TabItemPathBrush; the selected tab is filled with TabControl.TabItemSelectedFill.
DiamondTabs with angled, pointed ends.
FluentFlat, softly rounded tabs with a short accent bar on the selected tab, in the style of modern desktop applications.
GlassGlossy tabs with a light highlight; the selected tab is tinted with TabControl.TabItemAccentBrush under the gloss.
MinimalText-only tabs, softened when not selected, with a short accent bar beside the selected tab's text.
OutlineBordered, unfilled tabs; the selected tab is outlined and lettered in TabControl.TabItemAccentBrush.
PillRounded pill-shaped tabs; the selected tab is filled with TabControl.TabItemAccentBrush.
RaisedTrapeziumSloping-sided tabs, the selected one standing higher than the rest.
RoundedTopGenerously rounded outer corners on a soft gradient; the selected tab takes the content colour.
TrapeziumTabs with sloping sides, wider at the base than the top.
UnderlineFlat tabs with an accent line beside the selected tab that grows into place when it is selected.
VisualStudioSoftly rounded rectangles in the manner of Visual Studio 2010: only the selected tab is filled, and a tab under the pointer turns dark with white text.

Members

Backstage

Flat, square tabs in the style of an application backstage menu; the selected tab is filled with TabControl.TabItemAccentBrush.

Browser

Browser-style tabs: rounded outer corners, thin separators, and a selected tab that joins the content.

Card

Folder-card tabs; the selected card is raised, shadowed and joins the content.

Custom

Tabs drawn with the template in TabControl.TabItemControlTemplate that you supply. Until one is set, the tabs are drawn as in TabControlRenderingMode.Default.

Default

Tabs with a curved, sloping right-hand edge, filled with TabControl.TabItemPathBrush; the selected tab is filled with TabControl.TabItemSelectedFill.

Diamond

Tabs with angled, pointed ends.

Fluent

Flat, softly rounded tabs with a short accent bar on the selected tab, in the style of modern desktop applications.

Glass

Glossy tabs with a light highlight; the selected tab is tinted with TabControl.TabItemAccentBrush under the gloss.

Minimal

Text-only tabs, softened when not selected, with a short accent bar beside the selected tab's text.

Outline

Bordered, unfilled tabs; the selected tab is outlined and lettered in TabControl.TabItemAccentBrush.

Pill

Rounded pill-shaped tabs; the selected tab is filled with TabControl.TabItemAccentBrush.

RaisedTrapezium

Sloping-sided tabs, the selected one standing higher than the rest.

RoundedTop

Generously rounded outer corners on a soft gradient; the selected tab takes the content colour.

Trapezium

Tabs with sloping sides, wider at the base than the top.

Underline

Flat tabs with an accent line beside the selected tab that grows into place when it is selected.

VisualStudio

Softly rounded rectangles in the manner of Visual Studio 2010: only the selected tab is filled, and a tab under the pointer turns dark with white text.