Class SortState
Preserves the AutoFilter sort state.
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
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 |
|---|---|
| Boolean |
ColumnSort
Indicates whether or not to sort by columns.
Declaration
public bool ColumnSort { get; }
Property Value
| Type | Description |
|---|---|
| Boolean |
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()