Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / IColorScaleCriteria Interface / Count Property


In This Topic
    Count Property (IColorScaleCriteria)
    In This Topic
    Gets an integer value that specifies the number of criteria for a color scale conditional format rule.
    Syntax
    'Declaration
     
    
    ReadOnly Property Count As Integer
    'Usage
     
    
    Dim instance As IColorScaleCriteria
    Dim value As Integer
     
    value = instance.Count
    int Count {get;}

    Property Value

    The number of criteria is equivalent to the number of threshold values assigned for a color scale. This will be either two or three, depending on whether you use a two-color scale or three-color scale for the conditional format rule.
    See Also