Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public Brush HeaderBackground { get; set; }

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:

WPF ThemedWindow - HeaderBackground Property

<dx:ThemedWindow 
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  HeaderBackground="Green">
  ...
</dx:ThemedWindow>
See Also