[]
        
(Showing Draft Content)

FarPoint.Win.Spread.UndoRedo.CellEditUndoAction.-ctor

CellEditUndoAction Constructor

CellEditUndoAction(SheetView, int, int, object, bool, string, IFormatProvider, string, IFormatProvider, bool, bool, Direction)

Creates a new cell edit undo action.

Declaration
public CellEditUndoAction(SheetView sheetView, int row, int column, object newValue, bool isFormula, string oldFormatString, IFormatProvider oldInfo, string currentFormatString, IFormatProvider currentInfo, bool needToSetFormatStringWhenRedo, bool autoFormatting = false, Direction activeCellLocation = (Direction)0)
Public Sub New(sheetView As SheetView, row As Integer, column As Integer, newValue As Object, isFormula As Boolean, oldFormatString As String, oldInfo As IFormatProvider, currentFormatString As String, currentInfo As IFormatProvider, needToSetFormatStringWhenRedo As Boolean, Optional autoFormatting As Boolean = False, Optional activeCellLocation As Direction = 0)
Parameters
Type Name Description
SheetView sheetView

Sheet

int row

Row index

int column

Column index

object newValue

Object with new value

bool isFormula

Whether the cell content is a formula

string oldFormatString

Previous format string of cell

IFormatProvider oldInfo

Previous IFormatProvider of cell

string currentFormatString

Current Format string of cell

IFormatProvider currentInfo

Current IFormatProvider of cell

bool needToSetFormatStringWhenRedo

Specifies whether the format string is restore when redo

bool autoFormatting
Direction activeCellLocation