Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ShapePatternFill.BackgroundColor Property

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

Namespace: DevExpress.Spreadsheet.Drawings

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

Color BackgroundColor { get; set; }

#Property Value

Type Description
Color

A Color object that specifies the background color.

#Remarks

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

See Also