pdiddy
pdiddy

Reputation: 6297

Workflow no-code authoring

I want to use the no-code authoring in the workflow. So no code behind. Let's say I have 2 custom activities with dependency properties.

How can I bind a property from activity1 to activity2 ?

Upvotes: 3

Views: 151

Answers (1)

AnthonyWJones
AnthonyWJones

Reputation: 189457

You can still use Activity binding in a no code behind scenario.

In the designer select activity2 and in the property grid uses the ... button on the target property. This opens the "Bind 'Property' to an activity's property" dialog. Navigate to Activity1 and select the source property from it.

Or if you want to be hardcode you can tweak up the XOML:-

<ns0:Activity2 SomeProperty="{ActivityBind Activity1, Path=SomeOtherProperty}" ..>

Upvotes: 1

Related Questions