Conditional format rule that applies when the cell value is in the top (or bottom) N distinct values of its range.
Namespace: Radzen.Documents.Spreadsheet
Assembly: Radzen.Blazor.dll
public class Top10Rule : Documents.Spreadsheet.ConditionalFormatBaseSelection follows Excel semantics: it ranks the DISTINCT numeric values within the range and matches any cell whose value is at or beyond the resulting threshold (so ties at the threshold are all included). Because the rule needs the full range to compute the threshold, evaluation is performed by ; calling directly returns .
Conditional format rule that applies when the cell value is in the top (or bottom) N distinct values of its range.
public Top10Rule()Gets or sets whether to use bottom N instead of top N.
public bool Bottom { get; set; }
| Type | Description |
|---|---|
| bool | Gets or sets whether to use bottom N instead of top N. |
Gets or sets how many top values to highlight.
public int Count { get; set; }
| Type | Description |
|---|---|
| int | Gets or sets how many top values to highlight. |
Gets or sets the format to apply when the rule matches.
public Documents.Spreadsheet.Format Format { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.Format | Gets or sets the format to apply when the rule matches. |
public override Documents.Spreadsheet.Format GetFormat(Documents.Spreadsheet.Cell cell)
| Type | Name | Description |
|---|---|---|
| Documents.Spreadsheet.Cell | cell |
| Type | Description |
|---|---|
| Documents.Spreadsheet.Format |