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.v20.1.dll

Declaration

[XtraSerializableProperty]
[DXCategory("Appearance")]
[DefaultValue("")]
public string PredefinedName { get; set; }
<XtraSerializableProperty>
<DXCategory("Appearance")>
<DefaultValue("")>
Public Property PredefinedName As String

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