Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

GradientStopInfo.Position Property

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

Namespace: DevExpress.Spreadsheet.Drawings

Assembly: DevExpress.Spreadsheet.v24.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