Skip to main content

FormatConditionRangeGradient.Generate(StyleSettingsBase, StyleSettingsBase, Int32) Method

Specifies gradient settings for the current format condition.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v22.2.Core.dll

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.Win.Dashboard.Design


public virtual void Generate(
    StyleSettingsBase startStyle,
    StyleSettingsBase endStyle,
    int segmentCount


Name Type Description
startStyle StyleSettingsBase

A StyleSettingsBase descendant that specifies the start gradient color.

endStyle StyleSettingsBase

A StyleSettingsBase descendant that specifies the end gradient color.

segmentCount Int32

An integer value that specifies the number of ranges.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Generate(StyleSettingsBase, StyleSettingsBase, Int32) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also