Creates a new cell edit undo action.
Syntax
'Declaration
Public Function New( _
ByVal As SheetView, _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Object, _
ByVal As Boolean, _
ByVal As String, _
ByVal As IFormatProvider, _
ByVal As String, _
ByVal As IFormatProvider, _
ByVal As Boolean _
)
'Usage
Dim sheetView As SheetView
Dim row As Integer
Dim column As Integer
Dim newValue As Object
Dim isFormula As Boolean
Dim oldFormatString As String
Dim oldInfo As IFormatProvider
Dim currentFormatString As String
Dim currentInfo As IFormatProvider
Dim needToSetFormatStringWhenRedo As Boolean
Dim instance As New CellEditUndoAction(sheetView, row, column, newValue, isFormula, oldFormatString, oldInfo, currentFormatString, currentInfo, needToSetFormatStringWhenRedo)
Parameters
- sheetView
- Sheet
- row
- Row index
- column
- Column index
- newValue
- Object with new value
- isFormula
- Whether the cell content is a formula
- oldFormatString
- Previous format string of cell
- oldInfo
- Previous IFormatProvider of cell
- currentFormatString
- Current Format string of cell
- currentInfo
- Current IFormatProvider of cell
- needToSetFormatStringWhenRedo
- Specifies whether the format string is restore when redo
See Also