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

ShapeGradientType Enum

Lists values used to specify the gradient types for the gradient fill.

Namespace: DevExpress.Spreadsheet.Drawings

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

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public enum ShapeGradientType

#Members

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.

#Related API Members

The following properties accept/return ShapeGradientType values:

#Remarks

To apply the gradient fill to a chart element, call the ShapeOutlineFill.SetGradientFill method with the ShapeGradientType enumeration value passed as a parameter. To obtain type of the applied gradient fill, use the ShapeGradientFill.GradientType property.

See Also