.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+
Row

ConditionalFormatting.Priority Property

Specifies the priority of the conditional formatting rule.

Namespace: DevExpress.Spreadsheet

Assembly: DevExpress.Spreadsheet.v19.2.Core.dll

Declaration

int Priority { get; set; }
Property Priority As Integer
int Priority { get; set; }
Property Priority As Integer
int Priority { get; set; }
Property Priority As Integer

Property Value

Type Description
Int32

A positive integer that is the precedence of the conditional formatting rule.

Property Value

Type Description
Int32

A positive integer that is the precedence of the conditional formatting rule.

Property Value

Type Description
Int32

A positive integer that is the precedence of the conditional formatting rule.

Remarks

The Priority property determines the order of evaluation when multiple conditional formatting rules exist in a worksheet. All conditional formatting rules have unique priorities. A rule with a lower numeric value has greater precedence than a rule with a higher numeric value. Thus, the rule with the Priority property set to 1 has the highest priority. By default, the new rule is always added to the beginning of the conditional formatting rule collection and therefore has the highest precedence.

See Also