Skip to main content

GradientStopInfo.Position Property

Gets or sets the location of the gradient stop on the gradient line.

Namespace: DevExpress.Spreadsheet.Drawings

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

NuGet Package: DevExpress.Spreadsheet.Core

Declaration

public double Position { get; set; }

Property Value

Type Description
Double

A Double value between 0 and 1 that is the stop’s position.

Remarks

To apply a gradient fill to a chart element, use the ShapeOutlineFill.SetGradientFill method and pass a collection of gradient stops, defined by the GradientStopInfo object, as a parameter.

See Also