Format.Foreground Property
Gets or sets the brush used to paint the foreground of the formatted cell. This is a dependency property.
Namespace: DevExpress.Xpf.Core.ConditionalFormatting
Assembly: DevExpress.Xpf.Core.v24.1.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Property Value
Type | Description |
---|---|
Brush | A Brush object used to paint the foreground of the formatted cell. |
Remarks
To specify the brush used to paint the formatted cell’s background, use the Format.Background property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the Foreground 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.