Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / UIHelper Class / GetEditCommands Method
the worksheet that current editing.
the row postion that current editing.
the column position that current editing.
A boolean value indicates the calculated columns will be created when enter formula
A boolean value indicates affected table will be expand
editing cell value.
editing formula.
A boolean value indicates is setting array formula.


In This Topic
GetEditCommands Method
In This Topic
Get the commands use for editing.
Syntax
'Declaration
 
Public Shared Function GetEditCommands( _
   ByVal worksheet As IWorksheet, _
   ByVal editingRow As Integer, _
   ByVal editingColumn As Integer, _
   ByVal isSetMultipleCells As Boolean, _
   ByVal autoCreateCalcuatedColumns As Boolean, _
   ByVal autoExpandTable As Boolean, _
   ByVal cellValue As CellValue, _
   ByVal formula As String, _
   ByVal isArrayFormula As Boolean _
) As Command()
 
'Usage
 
Dim worksheet As IWorksheet
Dim editingRow As Integer
Dim editingColumn As Integer
Dim isSetMultipleCells As Boolean
Dim autoCreateCalcuatedColumns As Boolean
Dim autoExpandTable As Boolean
Dim cellValue As CellValue
Dim formula As String
Dim isArrayFormula As Boolean
Dim value() As Command
 
value = UIHelper.GetEditCommands(worksheet, editingRow, editingColumn, isSetMultipleCells, autoCreateCalcuatedColumns, autoExpandTable, cellValue, formula, isArrayFormula)

Parameters

worksheet
the worksheet that current editing.
editingRow
the row postion that current editing.
editingColumn
the column position that current editing.
isSetMultipleCells
autoCreateCalcuatedColumns
A boolean value indicates the calculated columns will be created when enter formula
autoExpandTable
A boolean value indicates affected table will be expand
cellValue
editing cell value.
formula
editing formula.
isArrayFormula
A boolean value indicates is setting array formula.

Return Value

Array of commands that could be used for editing
See Also