Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ConditionalStyleItem Class / ConditionalStyleItem Constructor / ConditionalStyleItem Constructor(AppearanceStyleInfo,ConditionalStyleOperator)
A CellStyle that is applied to the Cell when the condition matches.
A ConditionalStyleOperator value that the Cell.Value should match.


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

    Parameters

    style
    A CellStyle that is applied to the Cell when the condition matches.
    op
    A ConditionalStyleOperator value that the Cell.Value should match.
    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