开发者

Workflow no-code authoring

开发者 https://www.devze.com 2022-12-11 04:07 出处:网络
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.

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

精彩评论

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