Windows workflow foundation animated activity designer source

As I mentioned in my last post, I have uploaded the Animated Activity Designer for use in your own project. A common question I can anticipate being asked is "Why?". So, here's why I created it and my reason as to why you may want to use something like this.

First off, the reason I wanted to try to created animated activities within the Windows Workflow designer was merely to see if it was possible. I knew that I could override OnPaint so I pretty much already knew it was going to be possible (otherwise I probably wouldn't have gone down the path). The second reason is simply because as a guy that loves cool eye candy in UI's, I just had to do it.

So why would you ever want to create an animated activity? Let's say you create an application that hosts the Windows Workflow Designer. Let's also assume that this application is used by your customers. You present them with the designer surface and within a Toolbox like panel, you have your set of custom activities they can use. If pictures are worth a thousand words, then an animation with 10 frames is worth 10,000 words.

The actual code for this is really simple which is also why it only took a couple of hours to get it up and running. Since it is so easy, I won't waste your time explaining it (but feel free to ping me if you have any questions).

Download the code right here:

To see it in action, open the solution in Visual Studio, build it and then open workflow1.cs in the designer.


 To see the video better, right click and select Zoom -> Full Screen

P.S. The activities you see in the project and in the video are simply placeholders. They do not actually do anything.

Comments (9)

  1. Sam Gentile says:

    I got it to work by taking that line out. Thanks for providing this!

  2. Thanks man!! I’m SO glad I did not need to write one myself.

  3. chirag says:

    how to debug a designer attribute

  4. Sylvain says:


    Would you be kind enough to share your view regarding the following requirement?

    I need to build a customer Designer (totally different from the DesignSurface) using WPF. The end result will still be a running workflow. Should I build the workflow object tree in my code directly or may I connect to a middle component of the workflow designer subsystem?

  5. ChunFeng says:

    I have downloaded .net 3,why there are not workflow .DLL?

    In addition,can this program be run by Visual Studio 2005?

  6. NickNi says:

    The link is unavailable.

    Thanks for checking.

  7. Benjy says:


    Could you please check the link. Its not working and the video doesnt appear either.


  8. sudheer says:


    Could you please check the link. Its not working and the video does not appear either.


  9. ha says:

    whatever this just is incomplete and doesnt work

Skip to main content