Rehosting the Workflow Designer

官方文档:https://msdn.microsoft.com/en-us/library/dd489451(v=vs.110).aspx

The Windows Workflow Designer can be rehosted in environments outside of Visual Studio 2012 for the purposes of creating, modifying, and monitoring workflows.

The WorkflowDesigner type is a wrapper of the canvas, property grid, and other elements, and exposes a basic programming model to handle the majority of designer rehosting scenarios. Hosting the WorkflowDesigner inside a Windows Presentation Foundation (WPF) application is a common rehosting scenario for Workflow Designer.

In This Section

Task 1: Create a New Windows Presentation Foundation Application

Task 2: Host the Workflow Designer

Task 3: Create the Toolbox and PropertyGrid Panes

Support for New Workflow Foundation 4.5 Features in the Rehosted Workflow Designer

原文地址:https://www.cnblogs.com/chenxizhang/p/5343573.html