Skip to main content
Row

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

int Priority { get; set; }

#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