Skip to main content
.NET Framework 4.5.2+

GradientStopCollection Interface

A collection of color stops which constitutes a linear gradient.

Namespace: DevExpress.Spreadsheet

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


public interface GradientStopCollection


Two color stops specify the colors of the linear gradient with a transition from the color of the point with the GradientStop.Position set to 0 to the color of the point with the position set to 1.

Use the GradientStopCollection.Add method to create a color stop and add it to the collection.

The GradientStopCollection is accessible via the GradientFill.Stops property.

The following code snippets (auto-collected from DevExpress Examples) contain references to the GradientStopCollection interface.


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