Edit

Share via


ExpressionTextBox.ExpressionType Property

Definition

Gets or sets the expression type.

public:
 property Type ^ ExpressionType { Type ^ get(); void set(Type ^ value); };
public Type ExpressionType { get; set; }
member this.ExpressionType : Type with get, set
Public Property ExpressionType As Type

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