This documentation is archived and is not being maintained.

DesignerTheme Class

Supplies base class implementation for all activity designer theme classes used in a workflow design-time environment.

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

public abstract class DesignerTheme : IDisposable

The DesignerTheme type exposes the following members.

Protected methodDesignerThemeWhen implemented in a derived class, initializes a new instance of the DesignerTheme class by using a WorkflowTheme object.

Public propertyApplyToGets or sets the unqualified name of the designer type to which the designer theme is applied.
Protected propertyContainingThemeGets the workflow theme that encapsulates the designer theme.
Public propertyDesignerTypeGets or sets the type of the designer associated with the designer theme.
Public propertyReadOnlyGets a value that indicates whether the designer theme is read-only.

Protected methodDisposeReleases the unmanaged resources used by the DesignerTheme and optionally releases the managed resources.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows the DesignerTheme to attempt to free resources and perform other clean-up operations before it is reclaimed by garbage collection. (Overrides Object.Finalize().)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializePerforms further initialization tasks beyond those performed by DesignerTheme.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOnAmbientPropertyChangedNotifies the designer theme class that the ambient property settings for the designer have changed.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Explicit interface implemetationPrivate methodIDisposable.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

All classes that supply theme property settings to ActivityDesigner classes must inherit from the DesignerTheme class. Designer themes provide a set of property values with which to display background and foreground colors and styles, fonts, and other style settings for the designer classes displayed on a workflow design surface.

The AmbientTheme class also inherits from DesignerTheme.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

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