开发者

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 ?


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}" ..>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜