Table of Contents

Class SortState

Namespace
OfficeOpenXml.Sorting
Assembly
EPPlus.dll

Preserves the AutoFilter sort state.

public class SortState : XmlHelper
Inheritance
SortState
Inherited Members

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()