Class SortState
Preserves the AutoFilter sort state.
Inherited Members
Namespace: OfficeOpenXml.Sorting
Assembly: EPPlus.dll
Syntax
public class SortState : XmlHelper
Properties
CaseSensitive
Indicates whether or not the sort is case-sensitive
Declaration
public bool CaseSensitive { get; }
Property Value
| Type | Description |
|---|---|
| bool |
ColumnSort
Indicates whether or not to sort by columns.
Declaration
public bool ColumnSort { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Ref
The whole range of data to sort (not only the sort-by column)
Declaration
public string Ref { get; }
Property Value
| Type | Description |
|---|---|
| string |
SortConditions
The preserved sort conditions of the sort state.
Declaration
public SortConditionCollection SortConditions { get; }
Property Value
| Type | Description |
|---|---|
| SortConditionCollection |
Methods
Clear()
Removes all sort conditions
Declaration
public void Clear()