In this task we will render the Toolbox, Workflow Designer View, and Property Inspector View to their corresponding content panel.
Before we begin this task, we should have completed that task of implementing designer layout.
Open the workflow designer project:
Open the workflow designer project we created in the previous task.
Open the designer's backend CS code file and alter the code as following. Code in bold style is the new added code.
using System.Windows; using System.Activities.Presentation; using System.Activities.Presentation.Toolbox; using System.Activities.Statements; namespace WF4Designer { public partial class MainWindow : Window { public MainWindow() { InitializeComponent(); this.AddDesigner(); this.AddToolBox(); this.AddPropertyInspector(); } WorkflowDesigner wd = null; ...