編輯

共用方式為


ColorScaleCriterion.Index Property

Definition

Returns a Integer value indicating which threshold the criteria represents. Read-only.

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

Property Value

Integer

Remarks

For a two-color scale conditional format rule, this property will return a value of "1" for the minimum threshold and "2" for the maximum threshold. When using a three-color scale rule, the values will be "1" for the minimum, "2" for the midpoint, and "3" for the maximum thresholds.

Applies to