officefileapi-devexpress-dot-spreadsheet-dot-gradientfill-96a0e10b.md
Specifies the color stop points at the gradient line.
Namespace : DevExpress.Spreadsheet
Assembly : DevExpress.Spreadsheet.v25.2.Core.dll
NuGet Package : DevExpress.Spreadsheet.Core
GradientStopCollection Stops { get; }
ReadOnly Property Stops As GradientStopCollection
| Type | Description |
|---|---|
| GradientStopCollection |
A GradientStopCollection object that is the collection of color stop points.
|
Currently, only two points are supported. One point should be located at the point with coordinate 0 (start), and the other should be located at the point with coordinate 1 (end).
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Stops property.
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.
' The position of a color stop should be either 0 (start) or 1 (end).
Dim rangeStops1 As GradientStopCollection = rangeGradient1.Stops
rangeStops1.Add(0, Color.BlanchedAlmond)
See Also