ItemBackColorExpression Property

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

SequenceView.ItemBackColorExpression

Data Type

String

Purpose

Specifies an expression which the SequenceView control uses at run time to determine the background color for individual items. This expression overrides the item color the SequenceView.BackColor property defines.

Remarks

The expression you specify must return a numeric color value. When you do not want to change the background color, return -1, as the following example shows:

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

When you use this expression string, the SequenceView control makes the background for all failed steps red.

If empty, the control ignores this property.


See Also

Color

SequenceView.BackColor

WAS THIS ARTICLE HELPFUL?

Not Helpful