如何绑定InArgument到自定义活动设计器中的 WorkflowItemPresenter
我正在体验 wf4,并遇到了一些问题。我创建了一个xaml流程图活动,它帮助我控制3个子活动的流程,我希望有一个设计器将一些活动拖到3个子活动中,所以我创建了一个xaml活动的部分类并将设计器与它绑定,设计器有3个WorkflowItemPresenter。 但我无法将 InArgument 绑定到 WorkflowItemPresenter,那么是否有解决方案将 InArgument 绑定到 WorkflowItemPresenter?
谢谢, 佟
I am experiencing wf4, and met some issue. I created an xaml flowchart activity, it helps me control 3 child activites' flow, and I want to have a designer to drag some activities into the 3 child activies, so I created a partial class to the xaml activity and bind the designer with it, the designer has 3 WorkflowItemPresenter.
But I am not able to bind the InArgument to WorkflowItemPresenter, so is there a solution to bind InArgument to WorkflowItemPresenter?
Thanks,
Tong
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不太确定您正在尝试什么,但 InArgument 通常用于在运行时更改且应该可序列化的数据。活动并不完全满足该要求,通常使用常规属性来完成。
Not quite sure what you are trying but an InArgument is normally used for data that changes at runtime and should be serializable. An activity doesn't quite meet that requirement and is normally done using a regular property.