Click or drag to resize

SortColumn Class

Represents the sort Field attributes.
Inheritance Hierarchy
System Object
Spire.Xls.Core.Spreadsheet.Sorting SortColumn

Namespace: Spire.Xls.Core.Spreadsheet.Sorting
Assembly: Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public class SortColumn : ISortColumn

The SortColumn type exposes the following members.

Constructors
Name Description
Public method SortColumn(SortColumns, Int32, String )
Initializes a new instance of the SortColumn class with the specified parent, key, and custom sort order.
Public method SortColumn(SortColumns, Int32, SortComparsionType, OrderBy)
Initializes a new instance of the SortColumn class with the specified parent, key, sort comparison type, and order by.
Top
Properties
Name Description
Public property Color
Represents the color to sort. Throws exception when SortOn type is Values.
Public property ComparsionType
Represents the sort by in the range.
Public property CustomSortOrder
Represents the custom sort order data.
Public property Key
Represents the column to be sorted on.
Public property Order
Represents the sort order.
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Public method SetLevel
Sets sorting level.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also