[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ITop10

ITop10 Interface

Represents a top ten visual of a conditional formatting rule. Applying a color to a range helps you see the value of a cell relative to other cells.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public interface ITop10
Public Interface ITop10

Properties

Name Description
AppliesTo

Returns or sets the IRange object that specifies the cell range to which the formatting rule is applied.

Borders

Returns an instance of IBorders which represents the borders of this conditional format.

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).

Percent

Returns or sets a Boolean value, specifying if the rank is determined by a percentage value.

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.

Rank

Returns or sets an Integer value, specifying either the number or percentage of the rank value for the conditional format rule.

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.

TopBottom

Returns or sets one of the constants of the TopBottom enumeration, determining if the ranking is evaluated from the top or bottom.

Type

Returns the type of this conditional format.

Methods

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.