Spread Windows Forms 12.0 Product Documentation
CellEditUndoAction Constructor(SheetView,Int32,Int32,Object,Boolean,String,IFormatProvider,String,IFormatProvider,Boolean)


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.UndoRedo Namespace > CellEditUndoAction Class > CellEditUndoAction Constructor : CellEditUndoAction Constructor(SheetView,Int32,Int32,Object,Boolean,String,IFormatProvider,String,IFormatProvider,Boolean)
Sheet
Row index
Column index
Object with new value
Whether the cell content is a formula
Previous format string of cell
Previous IFormatProvider of cell
Current Format string of cell
Current IFormatProvider of cell
Specifies whether the format string is restore when redo
Creates a new cell edit undo action.
Syntax
'Declaration
 
Public Function New( _
   ByVal sheetView As SheetView, _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal newValue As Object, _
   ByVal isFormula As Boolean, _
   ByVal oldFormatString As String, _
   ByVal oldInfo As IFormatProvider, _
   ByVal currentFormatString As String, _
   ByVal currentInfo As IFormatProvider, _
   ByVal needToSetFormatStringWhenRedo 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

Reference

CellEditUndoAction Class
CellEditUndoAction Members
Overload List