Skip to main content

LayoutPanel.TabBackgroundColor Property

Gets or sets the background color for the LayoutPanel‘s tab header. This is a dependency property.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v22.1.dll

NuGet Package: DevExpress.Wpf.Docking


public Color TabBackgroundColor { get; set; }

Property Value

Type Description

A Color value that is the background color for the LayoutPanel‘s tab header.


The TabBackgroundColor property is used to paint the current LayoutPanel‘s tab header when the LayoutPanel is displayed as a tab (e.g., within a DocumentGroup). In some themes, for instance MetropolisLight, a tab’s font color is changed as well (see the figure below).



The TabBackgroundColor property has no effect if the panel is placed within AutoHideGroup or TabbedGroup.

Use the LayoutPanel.ActualTabBackgroundColor property to get the LayoutPanel tab header’s actual background color.

See Also