WF4.0 中的自定义活动设计器(如流程图活动)
是否可以创建与流程图活动相同的自定义活动?
由于流程图活动是一个密封类,我们不能直接使用它,因此是否可以在自定义活动的展开视图中放置一个面板(用于容纳其他活动)和可调整大小的手柄,以便用户可以增加并通过拖动活动的角来减小活动的大小。
提前致谢。
Is it possible to create a Custom activity, same as Flow Chart Activity?
As Flow Chart activity is a sealed class, we can not use it directly, so is it possible to place a Panel(for holding other activity) and the re-sizable grip in the expand view of the Custom activity, so that user can increase and decrease the size of the activity by dragging the corners of the activity.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,您可以根据需要自行创建任何活动或 ActivityDesigner。然而,FlowChartDesigner 是更复杂的设计器之一。正如您所注意到的,大多数 WF4 类都是密封的,因此这将是一项相当多的工作,因为您必须从头开始重建它。
Yes, you can create any activity, or ActivityDesigner as you need, yourself. However the FlowChartDesigner is one of the more complex designers. As you noticed most WF4 classes are sealed so it would be quite a bit of work as you would have to rebuild it from the ground up.