GridCellGroup.SetBackgroundColorRules 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 background of that cell.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

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

 

Overload List

Signatures

Return Value

Description

GridCellGroup.SetBackgroundColorRules(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 background of that cell. The size of the rangeColors array must be one greater than the size of the rangeThresholds array.

GridCellGroup.SetBackgroundColorRules(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 background of that cell. The size of the matchColors array must match the size of the matchValues string array.

 

 

See also

GridCellGroup Object

GridWindow Guide