Window WF 活动设计器到工具箱
我正在尝试创建一个空的自定义活动,以便我可以在工作流设计器中发表评论。我有一个活动设计器,它不执行任何操作,但有一个文本块,以便可以添加注释。将其放入我的工作流程工具箱的最简单方法是什么?我的工作流程工具箱中当前有一个空活动,但我不知道如何将新设计器放在它上面。
I am trying to make an empty custom activity so that I can have comments in the workflow designer. I have an activity designer that does not do anything but has a text block so the comments can be added. What is the easiest way to get this into my workflow toolbox? I have an empty activity that is currently in the workflow toolbox, but I have no idea how to lay the new designer on top of it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
在类声明之前附加
Designer
属性。示例代码:
attach the
Designer
attribute before your class declaration.example code:
您可以使用设计器属性将活动设计器附加到活动。当您将活动拖到设计器上时,您将看到您的设计器而不是默认设计器。
You can use the Designer attribute to attach the activity designer to the activity. When you drag the activity onto the designer you will get to see your designer instead of the default designer.