Introduction
Sometimes, workflow users are non-developers who may not have installed Visual Studio 2010. These users need the ability to create and/or modify workflow definitions with designer support for things such as dragging and dropping of activities. WF4 provides a set of WPF classes that we can reference and use to create our own custom workflow designer, allowing for creating of rich administration tools for our workflow solutions.
There are several important classes involved in creating custom hosted workflow designers.
System.Activities.Presentation.WorkflowDesigner:
WorkflowDesigner
provides a designer canvas that renders the visual workflow model.WorklfowDesigner.View
represents the designer canvas. We can get the property inspector view fromWorkflowDesigner.PropertyInspectorView
.System.Activities.Presentation.ToolboxControl
ToolboxControl
renders categorized workflow activities in the toolbox. We can useSystem.Activities.Presentation.Toolbox.ToolboxCategory
to create...