Skip to main content

RectangleGradientFillOptions Class

Defines the settings of the gradient filling style.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[TypeConverter(typeof(RectangleGradientFillOptionsTypeConverter))]
public class RectangleGradientFillOptions :
    GradientFillOptionsBase,
    IGradientFillOptions<RectangleGradientMode>

Remarks

The RectangleGradientFillOptions class contains filling settings which are specific to a particular gradient fill.

In addition to the properties and methods inherited from the base FillOptionsBase class the RectangleGradientFillOptions class exposes the RectangleGradientFillOptions.GradientMode property that allows you to specify the background gradient’s direction.

An object of the RectangleGradientFillOptions type can be accessed via the FillStyleBase.Options property of a fill style object that belongs to a specific chart element (such as a bar or pie series view, simple marker or strip).

See Also