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

ShapeGradientFill.GradientType Property

Returns the type of the gradient applied to a chart element.

Namespace: DevExpress.Spreadsheet.Drawings

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

ShapeGradientType GradientType { get; }

#Property Value

Type Description
ShapeGradientType

A ShapeGradientType enumeration value specifying the gradient type.

Available values:

Name Description
Linear

Specifies a linear gradient that blends two or more colors along a line.

Rectangle

Specifies a rectangular gradient that blends two or more colors along a rectangle.

Circle

Specifies a radial gradient that blends two or more colors along a circle.

Shape

Specifies a path gradient that blends two or more colors along a shape to which the gradient fill is applied.

See Also