Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

ShapeGradientType Enum

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

Namespace: DevExpress.Spreadsheet.Drawings

Assembly: DevExpress.Spreadsheet.v19.1.Core.dll

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.

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShapeGradientType enum.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also