[]
        
(Showing Draft Content)

FarPoint.Win.Spread.UndoRedo.GroupColumnUndoAction

GroupColumnUndoAction Class

Represents the undo actions for drag-drop of a column to the grouping bar.

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

Constructors

Name Description
GroupColumnUndoAction(SheetView, int, bool)

Creates a new undo action for drag-drop of a column to the grouping bar.

GroupColumnUndoAction(SheetView, int, bool, bool, int)

Creates a new undo action for drag-drop of a column to the grouping bar.

Fields

Name Description
append

Specifies whether to append this column to the existing grouping or to create a new grouping.

column

Specifies the index of the column dropped on the grouping bar.

dragFromGroupBar

Specifies whether the user drags a box from the group bar.

prevDataModel

Specifies the previous data model.

prevSortInfo

Specifies the previous sort information.

sheetView

Specifies the sheet that contains the column.

targetColumn

Specifies the target column location, if dragFromGroupBar is true.

Methods

Name Description
PerformUndoAction(object)

Adds the column to the grouping bar.

SaveUndoState()

Saves the undo state.

ToString()

Returns a string that represents this object.

Undo(object)

Undoes the grouping.