Skip to main content

Format.Foreground Property

Gets or sets the brush used to paint the foreground 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 Foreground { get; set; }

Property Value

Type Description
Brush

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

See Also