[]
        
(Showing Draft Content)

FarPoint.Win.Spread.UndoRedo.AutoSortColumnUndoAction

AutoSortColumnUndoAction Class

Represents the undo actions for an automatic sorting of rows in a sheet based on values in a column.

Inheritance
AutoSortColumnUndoAction
Implements
Namespace: FarPoint.Win.Spread.UndoRedo
Assembly: FarPoint.Win.Spread.dll
Syntax
public class AutoSortColumnUndoAction : UndoAction, ICloneable
Public Class AutoSortColumnUndoAction
    Inherits UndoAction
    Implements ICloneable

Constructors

Name Description
AutoSortColumnUndoAction(SheetView, int)

Creates a new undo action for automatic sorting of rows.

Fields

Name Description
column

Specifies the index of the column being automatically sorted.

prevAscending

Specifies whether the previous column was sorted in ascending order.

prevColumn

Specifies the previous column that was automatically sorted (-1 if none).

sheetView

Specifies the sheet on which the sorting is done.

viewRowIndexes

Specifies the row index mapping before sort.

Methods

Name Description
PerformUndoAction(object)

Performs the automatic sorting action.

SaveUndoState()

Saves the undo state of this automatic sorting action.

ToString()

Returns a string that represents this object.

Undo(object)

Performs the undo automatic sorting action.