Spread Windows Forms 12.0 Product Documentation
Count Property (IColorScaleCriteria)


GrapeCity.Spreadsheet Assembly > GrapeCity.Spreadsheet Namespace > IColorScaleCriteria Interface : Count Property
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

Reference

IColorScaleCriteria Interface
IColorScaleCriteria Members