Implementing New Workflow and Load Workflow events

In this task, we will give our workflow designer the ability to create new workflows and load workflow from XAML files.

Getting ready

Before we begin this task, we must complete the previous task: Implementing Toolbox, Workflow Designer, and Property Inspector views.

How to do it...

  1. Open the workflow designer project:

    Open the workflow designer project we created in the previous task.

  2. Create a new empty workflow as an empty workflow template:

    Click on the Show All Files button and navigate to the project's bin\Debug folder.

    How to do it...

    Create a new XAML file named WFTemplate.xaml. Fill the file with the following ...

Get Microsoft Windows Workflow Foundation 4.0 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.