Back to Devexpress

ProgressBarEdit.AdditionalForeground Property

wpf-devexpress-dot-xpf-dot-editors-dot-progressbaredit-615c3da2.md

latest2.1 KB
Original Source

ProgressBarEdit.AdditionalForeground Property

Gets or sets the color of the content on the left side of the ProgressBarEdit. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public SolidColorBrush AdditionalForeground { get; set; }
vb
Public Property AdditionalForeground As SolidColorBrush

Property Value

TypeDescription
SolidColorBrush

A SolidColorBrush object.

|

Remarks

Use the Foreground property to specify the color of the content on the right side of the ProgressBarEdit.

xaml
<dxe:ProgressBarEdit Value="50" IsPercent="True" ContentDisplayMode="Value"
                     DisplayFormatString="Progress: {0:p}"
                     AdditionalForeground="Cyan" Foreground="Green"/>

The ProgressBrush property allows you to specify the progress color.

The AdditionalForeground property has no effect if DevExpress Windows 11 Themes are applied to the ProgressBarEdit.

See Also

ProgressBarEdit Class

ProgressBarEdit Members

DevExpress.Xpf.Editors Namespace