Skip to main content
All docs
.NET Framework 4.5.2+

GradientStop(Single, Color) Constructor

Initializes a new GradientStop class instance with the specified settings.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v23.1.Core.dll

NuGet Package: DevExpress.RichEdit.Core


public GradientStop(
    float position,
    Color color


Name Type Description
position Single

The location of a gradient stop on the gradient line: 0 for the start point; 1 for the end point.

color Color

A gradient stop color.

See Also