Edit

Share via


ExpressionTextBox.ExpressionType Property

Definition

Gets or sets the expression type.

public Type ExpressionType { get; set; }

Property Value

The expression type.

Remarks

Setting the type is strongly recommended. If you do not set ExpressionType, you can't use the ExpressionTextBox to bind to delegate types and you do not get validation from the hosted compiler. This compiler validation checks to see if the type of the entered expression matches the expected type, and displays a red box around the ExpressionTextBox when invalid data is entered into it on an activity designer.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1