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.v26.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
| Type | Description |
|---|---|
| Brush | A Brush object that paints a window title in the ThemedWindow‘s header. |
Remarks
The following code sample sets the HeaderForeground to Red:

<dx:ThemedWindow
...
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
Title="ApplicationHeader"
HeaderForeground="Red">
...
</dx:ThemedWindow>
Note
The HeaderForeground 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.
Related GitHub Examples
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.