Class Top10FormattingRule
Represents a conditional formatting rule that formats the top or bottom ranked cells.
Inherited Members
Namespace: DRIT.Spreadsheet.ConditionalFormatting
Assembly: DRIT.Spreadsheet.dll
Syntax
public class Top10FormattingRule : StandardConditionalFormattingRule
Constructors
Top10FormattingRule(ConditionalFormatting)
Initializes a new instance of the Top10FormattingRule class.
Declaration
public Top10FormattingRule(ConditionalFormatting conditionalFormatting)
Parameters
| Type | Name | Description |
|---|---|---|
| ConditionalFormatting | conditionalFormatting | The conditional formatting that owns this rule. |
Properties
Bottom
Gets or sets whether to format the bottom values instead of the top.
Declaration
public bool Bottom { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Percent
Gets or sets whether the rank is a percentage.
Declaration
public bool Percent { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Rank
Specifies the rank value (1-10). The default is 10.
Declaration
public int Rank { get; set; }
Property Value
| Type | Description |
|---|---|
| int |