SortKey Class

Describes one sort level used by the multi-key SortKey[]) overload.

Inheritance

Object

Documents.Spreadsheet.SortKey

Namespace: Radzen.Documents.Spreadsheet

Assembly: Radzen.Blazor.dll

Syntax

public sealed class SortKey

Constructors

SortKeylink

Describes one sort level used by the multi-key SortKey[]) overload.

Declaration
public SortKey()

Properties

CaseSensitivelink

When true, value comparisons are case-sensitive (ordinal). Default false (ordinal-ignore-case).

Declaration
public bool CaseSensitive { get; set; }
Property Value
Type Description
boolWhen true, value comparisons are case-sensitive (ordinal). Default false (ordinal-ignore-case).

ColumnIndexlink

Column index relative to the sort range's left edge (0 = first column of the range).

Declaration
public int ColumnIndex { get; set; }
Property Value
Type Description
intColumn index relative to the sort range's left edge (0 = first column of the range).

CustomColorlink

When set with CellColor or FontColor, cells whose color matches sort first (or last when descending).

Declaration
public string CustomColor { get; set; }
Property Value
Type Description
stringWhen set with CellColor or FontColor, cells whose color matches sort first (or last when descending).

CustomListlink

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.

Declaration
public String[] CustomList { get; set; }
Property Value
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.

Orderlink

Ascending or descending order. Defaults to ascending.

Declaration
public SortOrder Order { get; set; }
Property Value
Type Description
SortOrderAscending or descending order. Defaults to ascending.

SortOnlink

What aspect of each cell drives the comparison. Defaults to Values.

Declaration
public Documents.Spreadsheet.SortOn SortOn { get; set; }
Property Value
Type Description
Documents.Spreadsheet.SortOnWhat aspect of each cell drives the comparison. Defaults to Values.
An error has occurred. This app may no longer respond until reloaded. Reload 🗙