[]
The UniqueValues object uses the UniqueValues.DupeUnique property to return or set an enumeration that determines whether the rule should look for duplicate or unique values in the range.
public interface IUniqueValues
Public Interface IUniqueValues
Name | Description |
---|---|
AppliesTo | Returns or sets a Range object specifying the cell range to which the formatting rule is applied. |
Borders | Returns an instance of IBorders which represents the borders of this conditional format. |
DupeUnique | Returns or sets if the conditional format rule is looking for unique or duplicate values. |
Font | Returns an instance of IFont which represents the font of this conditional format. |
Interior | Returns an instance of IInterior which represents the background color of this conditional format. |
NumberFormat | Returns or sets the number format applied to a cell if the conditional formatting rule evaluates to True (read or write object). |
Priority | 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. |
StopIfTrue | Returns or sets a Boolean value that determines if additional formatting rules on the cell should be evaluated if the current rule evaluates to True. |
Type | Returns the type of this conditional format. |
Name | Description |
---|---|
Delete() | Deletes this conditional format. |
FromJson(string) | Generates the conditional format from the json string. |
SetFirstPriority() | Sets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet. |
SetLastPriority() | Sets the evaluation order for this conditional formatting rule so it is evaluated after all other rules on the worksheet. |
ToJson() | Generates a json string from the conditional format. |