Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / CellValueRule Class / Create Method
The comparison operator ComparisonOperator for the text rule.
The first object.
The second object.
The style that is set by the rule.


In This Topic
    Create Method (CellValueRule)
    In This Topic
    Creates a cell value data rule with specified parameters.
    Syntax
    'Declaration
     
    Public Shared Function Create( _
       ByVal op As ComparisonOperator, _
       ByVal value1 As Object, _
       ByVal value2 As Object, _
       ByVal style As StyleInfo _
    ) As CellValueRule
    'Usage
     
    Dim op As ComparisonOperator
    Dim value1 As Object
    Dim value2 As Object
    Dim style As StyleInfo
    Dim value As CellValueRule
     
    value = CellValueRule.Create(op, value1, value2, style)
    public static CellValueRule Create( 
       ComparisonOperator op,
       object value1,
       object value2,
       StyleInfo style
    )

    Parameters

    op
    The comparison operator ComparisonOperator for the text rule.
    value1
    The first object.
    value2
    The second object.
    style
    The style that is set by the rule.

    Return Value

    The new cell value rule.
    See Also