Spread Windows Forms 11.0 Product Documentation
Add(AppearanceStyleInfo,ConditionalStyleOperator,Object,Object) Method


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.
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)
public void Add( 
   AppearanceStyleInfo cellStyle,
   ConditionalStyleOperator op,
   object value1,
   object 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

Reference

ConditionalStyleItemCollection Class
ConditionalStyleItemCollection Members
Overload List