Top10.Priority Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the priority value of the conditional formatting rule. The priority determines the order of evaluation when multiple conditional formatting rules exist in a worksheet.
public:
property int Priority { int get(); void set(int value); };
public int Priority { get; set; }
Public Property Priority As Integer
Property Value
Integer
Remarks
When setting the priority, the value must be a positive integer between 1 and the total number of conditional formatting rules on the worksheet. The priority must be a unique value for all rules on the worksheet, so changing the priority for the specified conditional formattting rule may cause the priority value of the other rules on the worksheet to be shifted.