WorkflowTheme WorkflowTheme WorkflowTheme WorkflowTheme Class



This API is now obsolete.

Provides the look and feel property settings to a workflow in design-time environment.

public ref class WorkflowTheme sealed : IDisposable
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class WorkflowTheme : IDisposable
type WorkflowTheme = class
    interface IDisposable
Public NotInheritable Class WorkflowTheme
Implements IDisposable



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

Workflow themes define the look and feel of a workflow design surface. This includes background styles, foreground styles, fonts, and icons defined for the workflow.

A WorkflowTheme is a theme defined for a specific workflow. The AmbientTheme class can be used for default properties if a specific workflow theme is not desired.


WorkflowTheme() WorkflowTheme() WorkflowTheme() WorkflowTheme()

Initializes a new instance of the WorkflowTheme class.


AmbientTheme AmbientTheme AmbientTheme AmbientTheme

Gets the AmbientTheme associated with the WorkflowTheme.

ContainingFileDirectory ContainingFileDirectory ContainingFileDirectory ContainingFileDirectory

Gets the directory part of the FilePath.

CurrentTheme CurrentTheme CurrentTheme CurrentTheme

Gets or sets the current theme.

Description Description Description Description

Gets or sets the description of the theme.

DesignerThemes DesignerThemes DesignerThemes DesignerThemes

Gets a list of designer themes associated with the workflow.

EnableChangeNotification EnableChangeNotification EnableChangeNotification EnableChangeNotification

Gets or sets a value that indicates whether to enable change notification.

FilePath FilePath FilePath FilePath

Gets or sets the file path for the theme.

LookupPath LookupPath LookupPath LookupPath

Gets the file path from the registry.

Name Name Name Name

Gets or sets the name of the theme.

ReadOnly ReadOnly ReadOnly ReadOnly

Gets or sets a value that indicates whether the workflow theme is read-only.

RegistryKeyPath RegistryKeyPath RegistryKeyPath RegistryKeyPath

Gets the registry key path for the theme.

StandardThemes StandardThemes StandardThemes StandardThemes

Gets the list of standard themes.

Type Type Type Type

Gets the type of the theme.

Version Version Version Version

Gets or sets the version of the theme.


Clone() Clone() Clone() Clone()

Creates a duplicate theme.

CreateStandardTheme(ThemeType) CreateStandardTheme(ThemeType) CreateStandardTheme(ThemeType) CreateStandardTheme(ThemeType)

Creates a standard theme.

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()

When overridden in a derived class, allows an object to clean up any resources deterministically.

GenerateThemeFilePath() GenerateThemeFilePath() GenerateThemeFilePath() GenerateThemeFilePath()

Generates a file path for the theme.

GetDesignerTheme(ActivityDesigner) GetDesignerTheme(ActivityDesigner) GetDesignerTheme(ActivityDesigner) GetDesignerTheme(ActivityDesigner)

Gets the theme for the specified ActivityDesigner.

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)
Load(IDesignerSerializationManager, String) Load(IDesignerSerializationManager, String) Load(IDesignerSerializationManager, String) Load(IDesignerSerializationManager, String)

Loads a new theme from the specified path using a serialization manager.

Load(String) Load(String) Load(String) Load(String)

Loads the theme from the specified file path.

LoadThemeSettingFromRegistry() LoadThemeSettingFromRegistry() LoadThemeSettingFromRegistry() LoadThemeSettingFromRegistry()

Loads a theme from the registry.

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

Creates a shallow copy of the current Object.

(Inherited from Object)
Save(String) Save(String) Save(String) Save(String)

Saves a theme to a file.

SaveThemeSettingToRegistry() SaveThemeSettingToRegistry() SaveThemeSettingToRegistry() SaveThemeSettingToRegistry()

Saves a theme to the registry.

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

Returns a string that represents the current object.

(Inherited from Object)


ThemeChanged ThemeChanged ThemeChanged ThemeChanged

Occurs when a theme changes.

Explicit Interface Implementations

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

Releases the managed resources used by the WorkflowTheme.

Applies to