SeqViewColumn.BackColorExpression
- Updated2025-07-21
- 1 minute(s) read
SeqViewColumn.BackColorExpression
Syntax
SeqViewColumn.BackColorExpression
Data Type
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.