GridCellGroup.SetTextColorRules Method

Top 

Description

Applies an array of colors and thresholds or match values as rules so that whenever the value of any cell in the GridCellGroup matches the condition set forth by the specific type of rule applied, the associated color is applied to the text in that cell.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Overload List

Signatures

Return Value

Description

GridCellGroup.SetTextColorRules(Array rangeThresholds, Array rangeColors)

None

Applies the array of rangeThresholds and rangeColors as rules so that whenever the value of any cell in this GridCellGroup is between two threshold values, the color corresponding to that range is applied to the text in that cell. The size of the rangeColors array must be one greater than the size of the rangeThresholds array.

GridCellGroup.SetTextColorRules(StringArray matchValues, Array rangeColors)

None

Applies the matchValues string array and the matchColors array as rules so that whenever the value of any cell in this GridCellGroup matches one of the matchValues array values, the corresponding matchColor is applied to the text in that cell. The size of the matchColors array must match the size of the matchValues string array.

GridCellGroup.SetTextColorRules(TimeSpanArray rangeThresholds, Array rangeColors)

None

Applies the array of rangeThresholds and rangeColors as rules so that whenever the value of any cell in this GridCellGroup is between two threshold values, the color corresponding to that range is applied to the text in that cell. The size of the rangeColors array must be one greater than the size of the rangeThresholds array.

 

 

See also

GridCellGroup Object

GridWindow Guide