[]
        
(Showing Draft Content)

FarPoint.Win.Spread.UndoRedo.CellDragFillUndoAction

CellDragFillUndoAction Class

Represents the undo actions for dragging and filling a range of cells.

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

Constructors

Name Description
CellDragFillUndoAction(SheetView, int, int, int, int, int, FillDirection, bool)

Creates a new undo action for a cell drag and fill operation.

Fields

Name Description
cellInfo

Specifies the previous contents of the target range (before the drag and fill).

column

Specifies the starting column index of the range to drag and fill.

columnCount

Specifies the number of columns in the range to drag and fill.

columnInfo

Specifies the previous column-level settings of the target range (before drag and fill).

dataOnly

Specifies whether to fill data only.

fillCount

Specifies the number of rows or columns to fill.

fillDirection

Specifies the direction of the fill operation.

row

Specifies the starting row index of the range to drag and fill.

rowCount

Specifies the number of rows in the range to drag and fill.

rowInfo

Specifies the previous row-level settings of the target range (before drag and fill).

sheetView

Specifies the sheet that contains column resizing.

Methods

Name Description
GetTargetCellRange()

Calculates the target CellRange object for the drag-fill operation based on the source range and fill direction.

PerformUndoAction(object)

Performs the cell drag and fill operation.

SaveUndoState()

Saves undo state information before drag-fill.

ToString()

Returns a string that represents this object.

Undo(object)

Undoes the cell drag and fill.