Back to Devexpress

ThemedWindow.HeaderBackground Property

wpf-devexpress-dot-xpf-dot-core-dot-themedwindow-2f1cdba3.md

latest1.6 KB
Original Source

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public Brush HeaderBackground { get; set; }
vb
Public Property HeaderBackground As Brush

Property Value

TypeDescription
Brush

A Brush object that paints the background of the ThemedWindow‘s header.

|

Remarks

The following code sample sets the HeaderBackground to Green :

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

See Also

ThemedWindow Class

ThemedWindow Members

DevExpress.Xpf.Core Namespace