ConditionalFormatting.Priority Property
Specifies the priority of the conditional formatting rule.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v24.2.Core.dll
NuGet Package: DevExpress.Spreadsheet.Core
Declaration
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.