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

FormatConditionRule2ColorScale.PredefinedName Property

Gets or sets the name of the predefined color scale for the current conditional formatting rule.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue("")]
[DXCategory("Appearance")]
[XtraSerializableProperty]
public string PredefinedName { get; set; }

#Property Value

Type Default Description
String String.Empty

The name of the predefined color scale for the current conditional formatting rule.

#Remarks

Available predefined formats include “Blue, White, Red”, “Emerald, Azure, Blue”, “Green, White, Red”, “Green, Yellow, Red”, “Purple, White, Azure”, “White, Azure”, “White, Green”, “White, Red”, “Yellow, Green”, “Yellow, Orange, Coral”.

Note

When a three-color scale is used, the middle color is ignored by the FormatConditionRule2ColorScale format.

FormatRuleColorScalePredefinedName

If the FormatConditionRule2ColorScale.MaximumColor and/or FormatConditionRule2ColorScale.MinimumColor properties are set, they override color settings of the predefined color scale.

See Also