2

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.

Davi Fiamenghi
  • 1,237
  • 12
  • 28
Santosh
  • 41
  • 2

1 Answers1

2

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.

Maurice
  • 27,582
  • 5
  • 49
  • 62
  • Santosh, you can find examples here: http://wf.codeplex.com/ http://mstecharchitect.blogspot.com/2010/02/wf-40-custom-activity-designer.html – Davi Fiamenghi Oct 31 '11 at 22:24