Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ConditionalStyleItem Class / ConditionalStyleItem Constructor / ConditionalStyleItem Constructor(AppearanceStyleInfo,ConditionalStyleOperator,Object,Object)
A CellStyle that is applied to the Cell when the condition matches.
A ConditionalStyleOperator value that the Cell.Value should match.
A System.Object that indicates the first operation value when op needs several arguments.
A System.Object that indicates the second operation value when op needs several arguments.


ConditionalStyleItem Constructor(AppearanceStyleInfo,ConditionalStyleOperator,Object,Object)
Initializes a new instance of the ConditionalStyleItem class.
Syntax
'Declaration
 
Public Function New( _
   ByVal style As AppearanceStyleInfo, _
   ByVal op As ConditionalStyleOperator, _
   ByVal value1 As Object, _
   ByVal value2 As Object _
)
 
'Usage
 
Dim style As AppearanceStyleInfo
Dim op As ConditionalStyleOperator
Dim value1 As Object
Dim value2 As Object
 
Dim instance As New ConditionalStyleItem(style, op, value1, value2)

Parameters

style
A CellStyle that is applied to the Cell when the condition matches.
op
A ConditionalStyleOperator value that the Cell.Value should match.
value1
A System.Object that indicates the first operation value when op needs several arguments.
value2
A System.Object that indicates the second operation value when op needs several arguments.
Exceptions
ExceptionDescription
The style is a null reference (Nothing in Visual Basic).
The specified value of op is not a valid ConditionalStyleOperator value.
See Also