Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / ConditionalFormattingUtils Class / AddConditionalFormattingRuleWithUndoAction Method
The Spread reference
The conditional formatting
The conditional formatting rule


In This Topic
    AddConditionalFormattingRuleWithUndoAction Method
    In This Topic
    Adds a conditional formatting rule with an undo action to Spread.
    Syntax
    'Declaration
     
    
    Public Shared Sub AddConditionalFormattingRuleWithUndoAction( _
       ByVal spread As FpSpread, _
       ByVal cf As ConditionalFormatting, _
       ByVal rule As IConditionalFormattingRule _
    ) 
    'Usage
     
    
    Dim spread As FpSpread
    Dim cf As ConditionalFormatting
    Dim rule As IConditionalFormattingRule
     
    ConditionalFormattingUtils.AddConditionalFormattingRuleWithUndoAction(spread, cf, rule)
    public static void AddConditionalFormattingRuleWithUndoAction( 
       FpSpread spread,
       ConditionalFormatting cf,
       IConditionalFormattingRule rule
    )

    Parameters

    spread
    The Spread reference
    cf
    The conditional formatting
    rule
    The conditional formatting rule
    Remarks
    Internal use only.
    See Also