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.v23.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public Color TabBackgroundColor { get; set; }

Property Value

Type Description
Color

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

Remarks

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).

TabBackgroundColor

Note

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