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

ShapeFill.PatternFill Property

Provides access to the settings of the pattern fill applied to a drawing object’s element.

Namespace: DevExpress.Spreadsheet.Drawings

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

ShapePatternFill PatternFill { get; }

#Property Value

Type Description
ShapePatternFill

A ShapePatternFill object containing pattern fill options.

#Remarks

To apply the pattern fill to a drawing object’s element, call the ShapeFill.SetPatternFill method. Use the PatternFill property to modify the applied fill: obtain and change the pattern type (ShapePatternFill.PatternType), get or set the background (ShapePatternFill.BackgroundColor) and foreground (ShapePatternFill.ForegroundColor) colors.

See Also