Describes one sort level used by the multi-key SortKey[]) overload.
Object
Namespace: Radzen.Documents.Spreadsheet
Assembly: Radzen.Blazor.dll
public sealed class SortKeyDescribes one sort level used by the multi-key SortKey[]) overload.
public SortKey()When true, value comparisons are case-sensitive (ordinal). Default false (ordinal-ignore-case).
public bool CaseSensitive { get; set; }
| Type | Description |
|---|---|
| bool | When true, value comparisons are case-sensitive (ordinal). Default false (ordinal-ignore-case). |
Column index relative to the sort range's left edge (0 = first column of the range).
public int ColumnIndex { get; set; }
| Type | Description |
|---|---|
| int | Column index relative to the sort range's left edge (0 = first column of the range). |
When set with CellColor or FontColor, cells whose color matches sort first (or last when descending).
public string CustomColor { get; set; }
| Type | Description |
|---|---|
| string | When set with CellColor or FontColor, cells whose color matches sort first (or last when descending). |
When set, sorts using this list's order rather than natural ordering. Items not present in the list sort after items in the list, in natural order.
public String[] CustomList { get; set; }
| Type | Description |
|---|---|
| String[] | When set, sorts using this list's order rather than natural ordering. Items not present in the list sort after items in the list, in natural order. |
Ascending or descending order. Defaults to ascending.
public SortOrder Order { get; set; }
| Type | Description |
|---|---|
| SortOrder | Ascending or descending order. Defaults to ascending. |
What aspect of each cell drives the comparison. Defaults to Values.
public Documents.Spreadsheet.SortOn SortOn { get; set; }
| Type | Description |
|---|---|
| Documents.Spreadsheet.SortOn | What aspect of each cell drives the comparison. Defaults to Values. |