DesignerTheme DesignerTheme DesignerTheme DesignerTheme Class

Definition

Warning

This API is now obsolete.

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

public ref class DesignerTheme abstract : IDisposable
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ThemeTypeConverter))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class DesignerTheme : IDisposable
type DesignerTheme = class
    interface IDisposable
Public MustInherit Class DesignerTheme
Implements IDisposable
Inheritance
DesignerThemeDesignerThemeDesignerThemeDesignerTheme
Derived
Attributes
Implements

Remarks

Note

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.

Constructors

DesignerTheme(WorkflowTheme) DesignerTheme(WorkflowTheme) DesignerTheme(WorkflowTheme) DesignerTheme(WorkflowTheme)

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

Properties

ApplyTo ApplyTo ApplyTo ApplyTo

Gets or sets the unqualified name of the designer type to which the designer theme is applied.

ContainingTheme ContainingTheme ContainingTheme ContainingTheme

Gets the workflow theme that encapsulates the designer theme.

DesignerType DesignerType DesignerType DesignerType

Gets or sets the type of the designer associated with the designer theme.

ReadOnly ReadOnly ReadOnly ReadOnly

Gets a value that indicates whether the designer theme is read-only.

Methods

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the DesignerTheme and optionally releases the managed resources.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

Allows the DesignerTheme to attempt to free resources and perform other clean-up operations before it is reclaimed by garbage collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize() Initialize() Initialize() Initialize()

Performs further initialization tasks beyond those performed by DesignerTheme(WorkflowTheme).

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty)

Notifies the designer theme class that the ambient property settings for the designer have changed.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Applies to