O'Reilly logo

Microsoft Windows Workflow Foundation 4.0 Cookbook by Andrew Zhu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing designer layout

In this task, we will create a WF4 designer layout window. This is just a WPF window. When we finish this task, we will have built a designer window. Functions will be added to the window in the following tasks.

How to do it...

  1. Create a WPF Application project:

    Open a new Visual Studio 2010 instance and create a new WPF Application project. Name the project WF4Designer.

    How to do it...

    Add the following three assembly references to the project: System.Activities, System.Activities.Core.Presentation, and System.Activities.Presentation.

  2. Create XAML layout code:

    Open the MainWindow.xaml file, which is created by default. Fill the file with ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required