Uredi

Deli z drugimi prek


DesignerTheme Class

Definition

Caution

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

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))]
public abstract class DesignerTheme : 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
[<System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ThemeTypeConverter))>]
type DesignerTheme = class
    interface 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.*")>]
type DesignerTheme = class
    interface IDisposable
Public MustInherit Class DesignerTheme
Implements IDisposable
Inheritance
DesignerTheme
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)

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

Properties

ApplyTo

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

ContainingTheme

Gets the workflow theme that encapsulates the designer theme.

DesignerType

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

ReadOnly

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

Methods

Dispose(Boolean)

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

Equals(Object)

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

(Inherited from Object)
Finalize()

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

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize()

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAmbientPropertyChanged(AmbientProperty)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDisposable.Dispose()

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

Applies to