Back to Devexpress

ThemedWindow.HeaderForeground Property

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

latest2.5 KB
Original Source

ThemedWindow.HeaderForeground Property

Gets or sets the brush that is used to paint a window title in the ThemedWindow‘s header area. 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 HeaderForeground { get; set; }
vb
Public Property HeaderForeground As Brush

Property Value

TypeDescription
Brush

A Brush object that paints a window title in the ThemedWindow‘s header.

|

Remarks

The following code sample sets the HeaderForeground to Red :

xaml
<dx:ThemedWindow 
  ...
  xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
  Title="ApplicationHeader"
  HeaderForeground="Red">
  ...
</dx:ThemedWindow>

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the HeaderForeground property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-create-a-fluent-design-using-appearance-options/CS/FluentDesignTemplate/MainWindow.xaml#L13

xml
ShowGlow="False"
HeaderForeground="White"
x:Class="FluentDesignTemplate.MainWindow" BorderThickness="0"

See Also

ThemedWindow Class

ThemedWindow Members

DevExpress.Xpf.Core Namespace