ExpressionTextBox.Expression Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the expression.

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

public ModelItem Expression { get; set; }

Property Value

Type: System.Activities.Presentation.Model.ModelItem

Returns a ModelItem that contains the expression.

Expression is always required. When using the ExpressionTextBox declaratively to bind to arguments, you must always use the ArgumentToExpressionConverter to bind the expression to the argument, setting the ConverterParameter to In or Out depending on the direction of the argument.

.NET Framework
Available since 4.0
Return to top