Class TableSortLayer¶
Namespace: OfficeOpenXml.Sorting
Assembly: EPPlus.dll
Table sort layer
Inheritance¶
object ← SortLayerBase ← TableSortLayer
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
Parameters¶
column int
The column to sort
Returns¶
A TableSortLayerBuilder for adding more sort criterias
Column(int, eSortOrder)¶
Sorts by the column that corresponds to the column (zerobased) using the supplied sort direction.
Parameters¶
column int
The column to sort
sortOrder eSortOrder
Ascending or Descending sort
Returns¶
A TableSortLayerBuilder for adding more sort criterias
ColumnNamed(string)¶
Sorts by the column that corresponds to the columnName ith ascending sort direction
Parameters¶
columnName string
The name of the column to sort, see Name.
Returns¶
A TableSortLayerBuilder for adding more sort criterias
ColumnNamed(string, eSortOrder)¶
Sorts by the column that corresponds to the columnName using the supplied sort direction.
Parameters¶
columnName string
Name of the column to sort, see Name
sortOrder eSortOrder
Ascending or Descending sort
Returns¶
A TableSortLayerBuilder for adding more sort criterias