Back to Devexpress

LayoutPanel.TabBackgroundColor Property

wpf-devexpress-dot-xpf-dot-docking-dot-layoutpanel-fbbb26eb.md

latest2.2 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public Color TabBackgroundColor { get; set; }
vb
Public Property TabBackgroundColor As Color

Property Value

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

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

ActualTabBackgroundColor

LayoutPanel Class

LayoutPanel Members

DevExpress.Xpf.Docking Namespace