This documentation is archived and is not being maintained.

FreeformActivityDesigner Class

Provides a customizable activity designer surface for users to visually modify on a workflow design surface.

Namespace:  System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public class FreeformActivityDesigner : CompositeActivityDesigner

The FreeformActivityDesigner allows users to modify how an activity appears on a workflow design surface. When you associate FreeformActivityDesigner with a custom activity class using the Designer attribute, the custom activity's appearance is different from other activities when a user drops the custom activity onto a design surface. Once FreeformActivityDesigner displays an activity on the design surface, users can draw connectors to other activity designers and resize the designer within the parameters defined by the design surface.


Users can only add connectors to the custom activity because the FreeformActivityDesigner is associated with the top-level activity in a workflow.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0