Skip to main content

Format.Background Property

Gets or sets the brush used to paint the background 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

public Brush Background { get; set; }

Property Value

Type Description
Brush

A Brush object used to paint the background of the formatted cell.

Remarks

To specify the brush used to paint the formatted cell’s foreground, use the Format.Foreground property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Background 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