ItemTextColorExpression Property

TestStand 2019 Help

Edition Date: May 2019

Part Number: 370052AA-01

»View Product Info
Download Help (Windows Only)

Syntax

SequenceView.ItemTextColorExpression

Data Type

String

Purpose

Specifies an expression which the SequenceView control uses at run time to determine the text color for individual items. This expression overrides the text color the SequenceView.TextColor 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 text color of all failed steps red.

If empty, the control ignores this property.


See Also

Color

SequenceView.TextColor

WAS THIS ARTICLE HELPFUL?

Not Helpful