Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / UIHelper Class / GetEditCommands Method / GetEditCommands(IWorksheet,Int32,Int32,Boolean,Boolean,Boolean,CellValue,Boolean,String,Boolean,Int32,Boolean,Direction) Method
the worksheet that current editing.
the row position 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(IWorksheet,Int32,Int32,Boolean,Boolean,Boolean,CellValue,Boolean,String,Boolean,Int32,Boolean,Direction) Method
    In This Topic
    Get the commands use for editing.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetEditCommands( _
       ByVal worksheet As IWorksheet, _
       ByVal editingRow As Integer, _
       ByVal editingColumn As Integer, _
       ByVal isSetMultipleCells As Boolean, _
       ByVal autoCreateCalculatedColumns As Boolean, _
       ByVal autoExpandTable As Boolean, _
       ByVal cellValue As CellValue, _
       ByVal isQuoted As Boolean, _
       ByVal formula As String, _
       ByVal isArrayFormula As Boolean, _
       ByVal numFmt As Integer, _
       Optional ByVal allowRichTextEdit As Boolean, _
       Optional ByVal activeCellLocation As Direction _
    ) As Command()
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim editingRow As Integer
    Dim editingColumn As Integer
    Dim isSetMultipleCells As Boolean
    Dim autoCreateCalculatedColumns As Boolean
    Dim autoExpandTable As Boolean
    Dim cellValue As CellValue
    Dim isQuoted As Boolean
    Dim formula As String
    Dim isArrayFormula As Boolean
    Dim numFmt As Integer
    Dim allowRichTextEdit As Boolean
    Dim activeCellLocation As Direction
    Dim value() As Command
     
    value = UIHelper.GetEditCommands(worksheet, editingRow, editingColumn, isSetMultipleCells, autoCreateCalculatedColumns, autoExpandTable, cellValue, isQuoted, formula, isArrayFormula, numFmt, allowRichTextEdit, activeCellLocation)

    Parameters

    worksheet
    the worksheet that current editing.
    editingRow
    the row position that current editing.
    editingColumn
    the column position that current editing.
    isSetMultipleCells
    autoCreateCalculatedColumns
    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.
    isQuoted
    formula
    editing formula.
    isArrayFormula
    A boolean value indicates is setting array formula.
    numFmt
    allowRichTextEdit
    activeCellLocation

    Return Value

    Array of commands that could be used for editing
    See Also