Skip to main content

ShapePatternFill.ForegroundColor Property

Gets or sets the foreground color of the pattern fill applied to a chart element.

Namespace: DevExpress.Spreadsheet.Drawings

Assembly: DevExpress.Spreadsheet.v24.1.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

Color ForegroundColor { get; set; }

Property Value

Type Description
Color

A Color object that specifies the foreground color.

Remarks

To apply the pattern fill to a chart element, call the ShapeFill.SetPatternFill method. To change the foreground color of the specified pattern fill, access the ShapePatternFill object by utilizing the ShapeFill.PatternFill property and then assign another value to the ForegroundColor property.

See Also