[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IIconCriteria.Count

Count Property

Count

Gets the number of criteria in the icon set conditional formatting rule.

This value indicates how many IIconCriterion objects are available in the IIconCriteria collection for the current icon set conditional formatting rule.

Declaration
int Count { get; }
ReadOnly Property Count As Integer
Examples
worksheet.Range["A1:A5"].Value = new object[,] {{10}, {30}, {50}, {70}, {90}};
IIconSetCondition condition = worksheet.Range["A1:A5"].FormatConditions.AddIconSetCondition();
condition.IconSet = workbook.IconSets[IconSetType.Icon3Symbols];
int count = condition.IconCriteria.Count;