[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IIconCriterion.Index

Index Property

Index

Gets the zero-based index of this criterion in its parent IIconCriteria collection.

Use this property to identify the position of an icon criterion within an icon set conditional formatting rule.

Declaration
int Index { get; }
ReadOnly Property Index As Integer
Examples
IIconSetCondition condition = worksheet.Range["A1:A5"].FormatConditions.AddIconSetCondition();
condition.IconSet = workbook.IconSets[IconSetType.Icon3Symbols];
IIconCriterion criterion = condition.IconCriteria[1];
int index = criterion.Index;