GridCell.SetTextColorRules(TimeSpanArray, Array) Method

Top 

Description

Applies the array of rangeThresholds and rangeColors as rules so that whenever the value of the cell 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. The cell's text color will default to GridCell.TextColor in the case where there are no matches.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

 

Method Signature

GridCell.SetTextColorRules(

TimeSpanArray rangeThresholds,


Array rangeColors)

 

 

Arguments

rangeThresholds


Description:

The thresholds for the applied rules.

 

 

rangeColors


Description:

The colors to apply when between threshold values.

 

 

 

Syntax

myGridCell1.SetTextColorRules(myTimeSpanArray1, myArray1);

 

 

See also

GridCell Object

GridCell.SetTextColorRules

GridWindow Guide