[]
        
(Showing Draft Content)

GrapeCity.Spreadsheet.ISortField

ISortField Interface

Represent an object contains all the sort information for the IWorksheet, ITable, and IAutoFilter objects.

Namespace: GrapeCity.Spreadsheet
Assembly: GrapeCity.Spreadsheet.dll
Syntax
public interface ISortField
Public Interface ISortField

Properties

Name Description
DataOption

Gets or sets the data option indicating how to sort text in the range specified in SortField object.

Key

Gets the range that is currently being sorted on.

Order

Gets or sets the sort order for the values specified in the key.

Priority

Gets or sets the priority for the sort field.

SortOn

Gets or sets what attribute of the cell to sort on.

SortOnValue

Gets the value on which the sort is performed for the specified ISortField object.

Methods

Name Description
Delete()

Removes the specified ISortField object from the ISortFields collection.

ModifyKey(IRange)

Modify the key value by which values are sorted in the field.

ModifyKey(Reference)

Modify the key value by which values are sorted in the field.

ModifyKey(int)

Modify the key value by which values are sorted in the field.

ModifyKey(string)

Modify the key value by which values are sorted in the field.

SetIcon(CfIcon)

Sets an icon for a ISortField object.