Integrating Custom Activities into the Toolbox

As you know, ToolboxBitmapAttribute displays an icon that is associated with your activity when your activity is installed in the Visual Studio Toolbox. But as it happens, there is more you can do than just show a bitmap.

Composite activities, for example, often create child activities that are necessary for the proper operation of the parent composite activity. A good example is the IfElse activity. When you drop an instance of the IfElse activity into your workflow, it automatically is populated with a left and right branch activity. I won’t show how that is done here because we’re building a basic activity. However, I’ll provide a link at the end of this section to more information, as well as sample ...

Get Microsoft® Windows® Workflow Foundation Step by Step 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.