wpf-devexpress-dot-xpf-dot-docking-dot-layoutpanel-fbbb26eb.md
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
public Color TabBackgroundColor { get; set; }
Public Property TabBackgroundColor As Color
| Type | Description |
|---|---|
| Color |
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).
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