Back to Devexpress

FormatConditionRule2ColorScale.PredefinedName Property

windowsforms-devexpress-dot-xtraeditors-dot-formatconditionrule2colorscale-3ae2c526.md

latest2.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

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

Property Value

TypeDefaultDescription
StringString.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.

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

See Also

MaximumColor

MinimumColor

FormatConditionRule2ColorScale Class

FormatConditionRule2ColorScale Members

DevExpress.XtraEditors Namespace