Click or drag to resize

SortLevelCollection Class

Represents a collection of sort levels.
Inheritance Hierarchy
SystemObject
  GemBox.SpreadsheetSortLevelCollection

Namespace:  GemBox.Spreadsheet
Assembly:  GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 41.3.30.1132
Syntax
public sealed class SortLevelCollection : IEnumerable<SortLevel>, 
	IEnumerable

The SortLevelCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of sort levels actually contained in the SortLevelCollection.
Public propertyItem
Gets the SortLevel at the specified index.
Top
Methods
  NameDescription
Public methodAdd
Adds a new SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index into the SortLevelCollection.
Public methodClear
Removes all SortLevels from the SortLevelCollection.
Public methodGet
Gets the sort level applied to a column (or a row, if LeftToRight is ) with the specified index (relative to the Range) or if such sort level doesn't exist.
Public methodGetEnumerator
Returns an enumerator that iterates through the sort levels.
Public methodInsert
Inserts a new SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index into the SortLevelCollection at the specified index.
Public methodMove
Moves the SortLevel at the specified index to a new location in the SortLevelCollection.
Public methodRemove(Int32)
Removes a SortLevel applied to a column (or a row, if LeftToRight is ) with the specified index from the SortLevelCollection.
Public methodRemove(SortLevel)
Removes the specific SortLevel from the SortLevelCollection.
Public methodRemoveAt
Removes the SortLevel at the specified index of the SortLevelCollection.
Top
See Also