Tailoring Activity Appearance in the Visual Workflow Designer
The visual workflow designer is actually based on the general-purpose Visual Studio designer. And since .NET 1.0, components in the .NET Framework exist to help you integrate your custom objects into the general-purpose designer. One of those components is the Designer attribute, which links in code to be executed within the visual designer for controlling such things as object display and behavior.
WF extends that concept by providing a mechanism for visual activity representation through a theme. A theme is really nothing more than a designer class that contains many properties you can set to control how your activity is drawn. You can control the colors used for rendering, the border ...
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.