Skip to content

Class RangeSortLayer

Namespace: OfficeOpenXml.Sorting
Assembly: EPPlus.dll

This class represents a condition in a sort.

public class RangeSortLayer : SortLayerBase

Inheritance

object ← SortLayerBase ← RangeSortLayer

Inherited Members

object.Equals(object?, object?)
object.Equals(object?)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object?, object?)
object.ToString()
SortLayerBase.SetColumn(int, eSortOrder)
SortLayerBase.SetColumn(int)
SortLayerBase.SetRow(int, eSortOrder)
SortLayerBase.SetRow(int)

Methods

Column(int)

Sorts by the column that corresponds to the column (zerobased) with ascending sort direction

public virtual RangeSortLayerBuilder Column(int column)

Parameters

column int

The column to sort

Returns

RangeSortLayerBuilder

A RangeSortLayerBuilder for adding more sort criterias

Column(int, eSortOrder)

Sorts by the column that corresponds to the column (zerobased) using the supplied sort direction.

public RangeSortLayerBuilder Column(int column, eSortOrder sortOrder)

Parameters

column int

The column to sort

sortOrder eSortOrder

Ascending or Descending sort

Returns

RangeSortLayerBuilder

A RangeSortLayerBuilder for adding more sort criterias