Spread WPF 17
GrapeCity.Windows.SpreadSheet.Data Namespace / ConditionalFormat Class / AddIconSetRule Method
The type of IconSetType icon collection.
The cell ranges where the rule is applied.


In This Topic
    AddIconSetRule Method
    In This Topic
    Adds an icon set rule to the rule collection.
    Syntax
    'Declaration
     
    Public Function AddIconSetRule( _
       ByVal iconSetTye As IconSetType, _
       ByVal ParamArray ranges() As CellRange _
    ) As IconSetRule
    'Usage
     
    Dim instance As ConditionalFormat
    Dim iconSetTye As IconSetType
    Dim ranges() As CellRange
    Dim value As IconSetRule
     
    value = instance.AddIconSetRule(iconSetTye, ranges)
    public IconSetRule AddIconSetRule( 
       IconSetType iconSetTye,
       params CellRange[] ranges
    )

    Parameters

    iconSetTye
    The type of IconSetType icon collection.
    ranges
    The cell ranges where the rule is applied.

    Return Value

    Returns the new icon set rule.
    See Also