ColorScaleCriteria.Count ColorScaleCriteria.Count ColorScaleCriteria.Count Property


Returns an Integer value that specifies the number of criteria for a color scale conditional format rule. Read-only.

 property int Count { int get(); };
public int Count { get; }
Public ReadOnly Property Count As Integer

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.

Applies to