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

GradientStopCollection.Add(Double, Color) Method

Creates a new color stop and adds it to the collection.

Namespace: DevExpress.Spreadsheet

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

Declaration

void Add(
    double position,
    Color color
)

Parameters

Name Type Description
position Double

A Double value that is the position of a color stop at the gradient line. Should be 0 (zero) or 1.

color Color

A Color value that is the color used for the gradient effect.

See Also