[]
Creates a new cell edit undo action.
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)
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 |