Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.UI Namespace / UIHelper Class / IsInputtedFormula(IWorksheet,Int32,Int32,String,Boolean) Method
The GrapeCity.Spreadsheet.Worksheet object which is using formula.
An integer value indicates the context row index.
An integer value indicates the context column index.
The inputted text.
true if the character position need to be kept for highlighting syntax.


In This Topic
    IsInputtedFormula(IWorksheet,Int32,Int32,String,Boolean) Method
    In This Topic
    Gets a boolean value indicating whether the specified text is to input a formula.
    Syntax
    'Declaration
     
    
    Public Shared Function IsInputtedFormula( _
       ByVal worksheet As IWorksheet, _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal text As String, _
       ByVal highlightSyntax As Boolean _
    ) As Boolean
    'Usage
     
    
    Dim worksheet As IWorksheet
    Dim row As Integer
    Dim column As Integer
    Dim text As String
    Dim highlightSyntax As Boolean
    Dim value As Boolean
     
    value = UIHelper.IsInputtedFormula(worksheet, row, column, text, highlightSyntax)
    public static bool IsInputtedFormula( 
       IWorksheet worksheet,
       int row,
       int column,
       string text,
       bool highlightSyntax
    )

    Parameters

    worksheet
    The GrapeCity.Spreadsheet.Worksheet object which is using formula.
    row
    An integer value indicates the context row index.
    column
    An integer value indicates the context column index.
    text
    The inputted text.
    highlightSyntax
    true if the character position need to be kept for highlighting syntax.

    Return Value

    true if the inputted text represents a formula; otherwise, false.
    See Also