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