Skip to main content

FormatConditionRangeGradientPredefinedType Enum

Lists predefined color gradients used to apply conditional formatting using value ranges.

Namespace: DevExpress.DashboardCommon

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

Declaration

public enum FormatConditionRangeGradientPredefinedType

Members

Name Description
None

Gradient is not specified.

Custom

A custom gradient. To specify start/end colors for the custom gradient, create a pair of AppearanceSettings objects, specify their AppearanceSettings.BackColor properties and assign the resulting objects to the FormatConditionRangeGradient.StartStyle/FormatConditionRangeGradient.EndStyle properties.

GreenWhite

The Green/White gradient.

WhiteGreen

The White/Green gradient.

RedWhite

The Red/White gradient.

WhiteRed

The White/Red gradient.

YellowGreen

The Yellow/Green gradient.

GreenYellow

The Green/Yellow gradient.

YellowRed

The Yellow/Red gradient.

RedYellow

The Red/Yellow gradient.

BlueWhite

The Blue/White gradient.

WhiteBlue

The White/Blue gradient.

BlueRed

The Blue/Red gradient.

RedBlue

The Red/Blue gradient.

YellowBlue

The Yellow/Blue gradient.

BlueYellow

The Blue/Yellow gradient.

GreenBlue

The Green/Blue gradient.

BlueGreen

The Blue/Green gradient.

GreenWhiteBlue

The Green/White/Blue gradient.

BlueWhiteGreen

The Blue/White/Green gradient.

BlueWhiteRed

The Blue/White/Red gradient.

RedWhiteBlue

The Red/White/Blue gradient.

GreenWhiteRed

The Green/White/Red gradient.

RedWhiteGreen

The Red/White/Green gradient.

GreenYellowRed

The Green/Yellow/Red gradient.

RedYellowGreen

The Red/Yellow/Green gradient.

BlueYellowRed

The Blue/Yellow/Red gradient.

RedYellowBlue

The Red/Yellow/Blue gradient.

GreenYellowBlue

The Green/Yellow/Blue gradient.

BlueYellowGreen

The Blue/Yellow/Green gradient.

Remarks

To use a predefined set of start/end colors to create a color gradient, pass the required FormatConditionRangeGradientPredefinedType enumeration value to the FormatConditionRangeGradient constructor.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FormatConditionRangeGradientPredefinedType enum.

Note

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