ActivityBind Class

Binds an activity's property to a property, field, indexer, method, event, or another activity's property. This class cannot be inherited.

Namespace: System.Workflow.ComponentModel
Assembly: System.Workflow.ComponentModel (in system.workflow.componentmodel.dll)

[TypeConverterAttribute(typeof(ActivityBindTypeConverter))] 
public sealed class ActivityBind : MarkupExtension
/** @attribute TypeConverterAttribute(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter) */ 
public final class ActivityBind extends MarkupExtension
TypeConverterAttribute(System.Workflow.ComponentModel.Design.ActivityBindTypeConverter) 
public final class ActivityBind extends MarkupExtension
Not applicable.

ActivityBind allows data to flow from one activity to another activity within a workflow. ActivityBind is a declarative way of doing what otherwise must be accomplished using code, and therefore is a key element of most workflows that are written entirely in XAML markup.

ActivityBind represents a bind expression that has an Activity member as a target. The target activity member can be a property, event, or a field. An Activity property or method can use ActivityBind to bind to another Activity member.

For example, if activity1 has property1 set to some value and if activity2 has its property1 set to ActivityBind with Name="activity1" and Path="property1", at run time the activity2.property1 gets its value from activity1.property1.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Show: