SeqViewColumn.TextColorExpression
- Updated2025-07-21
- 1 minute(s) read
SeqViewColumn.TextColorExpression
Syntax
SeqViewColumn.TextColorExpression
Data Type
Purpose
Specifies an expression that determines the text color for individual cells in the column at run time.
Remarks
This expression overrides the item color the SequenceView.TextColor and SequenceView.ItemTextColorExpression properties define.
The expression must return 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 TextColorExpression property of a column and run the application, the control colors the column text red for steps that fail.
When empty, the control ignores this property.