[]
Gets an integer value that indicates which threshold the criterion represents.
Use this property to identify whether the criterion corresponds to the minimum, midpoint, or maximum threshold in a color scale conditional format.
int Index { get; }
ReadOnly Property Index As Integer
IColorScale colorScale = worksheet.Range["A1:A5"].FormatConditions
.AddColorScale(ColorScaleType.ThreeColorScale);
IColorScaleCriterion criterion = colorScale.ColorScaleCriteria[1];
int index = criterion.Index;