BackColorExpression Property

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

SeqViewColumn.BackColorExpression

Data Type

String

Purpose

Specifies an expression used to determine the background color for individual cells in the selected column at run time.

Remarks

This expression overrides the item color the SequenceView.BackColor and SequenceView.ItemBackColorExpression properties define.

Specify an expression that returns a numeric color value. When you do not want to change the text color, return -1, as the following example shows:

Step.Result.Status == "Failed" ? tsRed: -1

When you assign this expression string to the BackColorExpression property of a column and run the application, the control colors the column background red for steps that fail.

When empty, the control ignores this property.


See Also

SequenceView.BackColor

SequenceView.ItemBackColorExpression

WAS THIS ARTICLE HELPFUL?

Not Helpful