Upraviť

Zdieľať cez


WorkflowTheme Class

Definition

Caution

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

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

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

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.

Constructors

WorkflowTheme()

Initializes a new instance of the WorkflowTheme class.

Properties

AmbientTheme

Gets the AmbientTheme associated with the WorkflowTheme.

ContainingFileDirectory

Gets the directory part of the FilePath.

CurrentTheme

Gets or sets the current theme.

Description

Gets or sets the description of the theme.

DesignerThemes

Gets a list of designer themes associated with the workflow.

EnableChangeNotification

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

FilePath

Gets or sets the file path for the theme.

LookupPath

Gets the file path from the registry.

Name

Gets or sets the name of the theme.

ReadOnly

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

RegistryKeyPath

Gets the registry key path for the theme.

StandardThemes

Gets the list of standard themes.

Type

Gets the type of the theme.

Version

Gets or sets the version of the theme.

Methods

Clone()

Creates a duplicate theme.

CreateStandardTheme(ThemeType)

Creates a standard theme.

Equals(Object)

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

(Inherited from Object)
Finalize()

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

GenerateThemeFilePath()

Generates a file path for the theme.

GetDesignerTheme(ActivityDesigner)

Gets the theme for the specified ActivityDesigner.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
Load(IDesignerSerializationManager, String)

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

Load(String)

Loads the theme from the specified file path.

LoadThemeSettingFromRegistry()

Loads a theme from the registry.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Save(String)

Saves a theme to a file.

SaveThemeSettingToRegistry()

Saves a theme to the registry.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Events

ThemeChanged

Occurs when a theme changes.

Explicit Interface Implementations

IDisposable.Dispose()

Releases the managed resources used by the WorkflowTheme.

Applies to