Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ConditionalStyleItemCollection Class / Add Method / Add(AppearanceStyleInfo,ConditionalStyleOperator,Object,Object) Method
The AppearanceStyleInfo of the ConditionalStyleItem.
The ConditionalStyleOperator of the ConditionalStyleItem.
The first value of the ConditionalStyleItem.
The second value of the ConditionalStyleItem.


In This Topic
    Add(AppearanceStyleInfo,ConditionalStyleOperator,Object,Object) Method
    In This Topic
    Adds a ConditionalStyleItem to the collection. The item is created by the specified cellStyle, op, value1, and value2 parameters.
    Syntax
    'Declaration
     
    
    Public Overloads Sub Add( _
       ByVal cellStyle As AppearanceStyleInfo, _
       ByVal op As ConditionalStyleOperator, _
       ByVal value1 As Object, _
       ByVal value2 As Object _
    ) 
    'Usage
     
    
    Dim instance As ConditionalStyleItemCollection
    Dim cellStyle As AppearanceStyleInfo
    Dim op As ConditionalStyleOperator
    Dim value1 As Object
    Dim value2 As Object
     
    instance.Add(cellStyle, op, value1, value2)

    Parameters

    cellStyle
    The AppearanceStyleInfo of the ConditionalStyleItem.
    op
    The ConditionalStyleOperator of the ConditionalStyleItem.
    value1
    The first value of the ConditionalStyleItem.
    value2
    The second value of the ConditionalStyleItem.
    See Also