Skip to content

Class SortState

Namespace: OfficeOpenXml.Sorting
Assembly: EPPlus.dll

Preserves the AutoFilter sort state.

public class SortState : XmlHelper

Inheritance

object ← XmlHelper ← SortState

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()

Properties

CaseSensitive

Indicates whether or not the sort is case-sensitive

public bool CaseSensitive { get; }

Property Value

bool

ColumnSort

Indicates whether or not to sort by columns.

public bool ColumnSort { get; }

Property Value

bool

Ref

The whole range of data to sort (not only the sort-by column)

public string Ref { get; }

Property Value

string

SortConditions

The preserved sort conditions of the sort state.

public SortConditionCollection SortConditions { get; }

Property Value

SortConditionCollection

Methods

Clear()

Removes all sort conditions

public void Clear()