Skip to main content

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.1.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