Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

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.v19.1.Core.dll

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