[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IAboveAverage

IAboveAverage Interface

Represents an above average visual of a conditional formatting rule. Applies a color or fill to a range or selection to help you see the value of a cell relative to other cells.

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

Properties

Name Description
AboveBelow

Returns or sets one of the constants of the AboveBelow enumeration, specifying if the conditional formatting rule looks for cell values above or below the range average or standard deviation.

AppliesTo

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

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.

NumStdDev

Returns or sets the numeric standard deviation for an AboveAverage object.

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.

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.