Show / Hide Table of Contents

Class SortState

Preserves the AutoFilter sort state.

Inheritance
object
XmlHelper
SortState
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
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()
In this article
Back to top Generated by DocFX