ExpressionTextBox.Expression Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets or sets the expression.

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

Syntax

'Declaration
Public Property Expression As ModelItem
    Get
    Set
'Usage
Dim instance As ExpressionTextBox
Dim value As ModelItem

value = instance.Expression

instance.Expression = value
public ModelItem Expression { get; set; }
public:
property ModelItem^ Expression {
    ModelItem^ get ();
    void set (ModelItem^ value);
}
function get Expression () : ModelItem
function set Expression (value : ModelItem)
member Expression : ModelItem with get, set

Property Value

Type: System.Activities.Design.Model.ModelItem
Returns a ModelItem that contains the expression.

Remarks

Expression is required if you are binding the ExpressionTextBox to an argument, as shown in the following example.

Examples

In the following example, ConverterParameter is the direction of the argument (in, out, inout), Converter as shown for binding to arguments, and Path is the model item.

Expression="{Binding Path=ModelItem.To, Mode=TwoWay, Converter={StaticResource ArgumentToExpressionConverter}, ConverterParameter=Out }"

.NET Framework Security

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 4

See Also

Reference

ExpressionTextBox Class

ExpressionTextBox Members

System.Activities.Design.View Namespace