Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Commands Namespace / FormatConditionalCommand Class / CreateCellValueCfRuleCommand Method


In This Topic
    CreateCellValueCfRuleCommand Method
    In This Topic
    Syntax
    'Declaration
     
    
    Public Shared Function CreateCellValueCfRuleCommand( _
       ByVal worksheet As Worksheet, _
       ByVal references() As Reference, _
       ByVal cfType As FormatConditionType, _
       ByVal cellOperator As FormatConditionOperator, _
       ByVal value1 As String, _
       ByVal value2 As String, _
       ByVal textOperator As ContainsOperator, _
       ByVal dateOperator As TimePeriods, _
       ByVal styleFormat As StyleFormat _
    ) As FormatConditionalCommand
    'Usage
     
    
    Dim worksheet As Worksheet
    Dim references() As Reference
    Dim cfType As FormatConditionType
    Dim cellOperator As FormatConditionOperator
    Dim value1 As String
    Dim value2 As String
    Dim textOperator As ContainsOperator
    Dim dateOperator As TimePeriods
    Dim styleFormat As StyleFormat
    Dim value As FormatConditionalCommand
     
    value = FormatConditionalCommand.CreateCellValueCfRuleCommand(worksheet, references, cfType, cellOperator, value1, value2, textOperator, dateOperator, styleFormat)

    Parameters

    worksheet
    references
    cfType
    cellOperator
    value1
    value2
    textOperator
    dateOperator
    styleFormat
    See Also