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

Assembly: DevExpress.WinUI.Grid.v23.2.dll

NuGet Package: DevExpress.WinUI

#Declaration

[DP(null, Handler = "OnPropertyChanged")]
public Brush Background { get; set; }

#Property Value

Type Description
Brush

A Microsoft.UI.Xaml.Media.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 Foreground property.

See Also