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

ShapeFillType Enum

Lists values used to specify the possible ways to fill a shape.

Namespace: DevExpress.Spreadsheet.Drawings

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public enum ShapeFillType

#Members

Name Description
Auto

Specifies that a shape is filled by default according to the applied style and current document theme.

None

Specifies that a shape is not filled.

Solid

Specifies that a shape is filled with a solid color defined by the ShapeSolidFill.Color property.

Pattern

Specifies that a shape is filled with a pattern defined by the ShapePatternFill.PatternType property.

Gradient

Specifies that a shape is filled with a gradient whose type is defined by the ShapeGradientFill.GradientType property.

Picture

Specifies that a shape is filled with a picture defined by the ShapePictureFill.Image property.

Group

Specifies that a shape is a part of a group and inherits the group’s fill properties.

#Related API Members

The following properties accept/return ShapeFillType values:

#Remarks

The values listed by this enumeration are returned by the ShapeOutlineFill.FillType property.

See Also