WF4 是否可以为复合活动创建设计器?
我知道如何使用类上的 Designer 属性将设计器活动连接到 NativeActivity 或 CodeActivity。像这样:
[Designer(typeof(ParallelActivityDesigner))]
我还想将设计器连接到复合活动(仅由 xaml 文件中的一些活动组成),这可能吗?
I know how to hook up a designer activity to a NativeActivity or CodeActivity with the Designer attribute on the class. Like so:
[Designer(typeof(ParallelActivityDesigner))]
I would like to also hookup a designer to a composite activity (composed of some activities in only a xaml file), is that possible at all?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
到目前为止三种已知的方法:
(参考工作流 Beta2 论坛< /a> 了解前 2) 项的详细信息
Three known ways so far:
(Ref Workflow Beta2 forum for details of the first 2)
可以查看用于使用 WorkflowItemPresenter 或 WorkflowItemsPresenter
http://msdn.microsoft.com/en-us/library/system.activities.presentation.workflowitempresenter.aspx
http://msdn.microsoft.com/en-us/library/dd759032.aspx
--matt
It is possible to do, check out the SDK sample for creating custom designers with either the WorkflowItemPresenter or the WorkflowItemsPresenter
http://msdn.microsoft.com/en-us/library/system.activities.presentation.workflowitempresenter.aspx
http://msdn.microsoft.com/en-us/library/dd759032.aspx
--matt
我自己也没有完全弄清楚这一点。应该是可能的,但我还没有弄清楚设计师需要的确切格式。获取信息的最佳位置是 Matt Winkler(设计器团队的 PM),网址为 http://blogs.msdn .com/mwinkle
I don't exactly have this figured out myself. It should be possible but I haven't figured out the exact format the designer needs to be. The best place for info is Matt Winkler (PM on the team working on the designer) at http://blogs.msdn.com/mwinkle