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.

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

  NameDescription
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.
Top

  NameDescription
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.)
Top

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

NoteNote

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

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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.
Show:
© 2014 Microsoft