Back to Devexpress

ConditionalFormatting.Priority Property

officefileapi-devexpress-dot-spreadsheet-dot-conditionalformatting.md

latest1.8 KB
Original Source

ConditionalFormatting.Priority Property

Specifies the priority of the conditional formatting rule.

Namespace : DevExpress.Spreadsheet

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

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

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

Property Value

TypeDescription
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

StopIfTrue

ConditionalFormatting Interface

ConditionalFormatting Members

DevExpress.Spreadsheet Namespace