Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DesignerTheme Class

Note: This API is now obsolete.

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)

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
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 the default hash function. (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.


This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

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
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.6
Obsolete (compiler warning) in 4.5
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5.2

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