ThemedWindow.HeaderBackground Property
Gets or sets the brush that is used to paint the background of the ThemedWindow‘s header when the window is focused. This is a dependency property.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v26.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Brush | A Brush object that paints the background of the ThemedWindow‘s header. |
Remarks
The following code sample sets the HeaderBackground to Green:

<dx:ThemedWindow
...
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
HeaderBackground="Green">
...
</dx:ThemedWindow>
Note
The HeaderBackground property has no effect when a RibbonControl is integrated into the ThemedWindow. In this case, the RibbonControl embeds its elements in the window header and defines the header colors.
Refer to the ThemedWindow.WindowKind property for additional information.
See Also