Skip to main content

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public Brush HeaderForeground { get; set; }

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:

WPF ThemedWindow - HeaderForeground Property

<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.

See Also