An integer value that specifies the index of the current state in the collection of states.
The StateIndex property allows you to select a specific state by its index in the StateIndicator.States collection.
When state indicators are used within circular or linear gauges, the StateIndex property is ignored. In these gauges, a state is selected depending upon a scale's current value (ArcScale.Value or LinearScale.Value). For state indicators being used in circular and linear gauges, you need to specify the range of values that correspond to specific states. If the value of the gauge's scale falls into a specific range, a corresponding state is automatically activated.