ExpressionTextBox.ExpressionType Property

.NET Framework (current version)
 

Gets or sets the expression type.

Namespace:   System.Activities.Presentation.View
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public Type ExpressionType { get; set; }

Property Value

Type: System.Type

Returns a Type that contains the expression type.

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.

.NET Framework
Available since 4.0
Return to top
Show: