WorkflowTheme Class

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

System.Object
  System.Workflow.ComponentModel.Design.WorkflowTheme

Namespace:  System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

public sealed class WorkflowTheme : IDisposable

The WorkflowTheme type exposes the following members.

  NameDescription
Public methodWorkflowThemeInitializes a new instance of a WorkflowTheme.
Top

  NameDescription
Public propertyAmbientThemeGets the AmbientTheme associated with the WorkflowTheme.
Public propertyContainingFileDirectoryGets the directory part of the FilePath.
Public propertyStatic memberCurrentThemeGets or sets the current theme.
Public propertyDescriptionGets or sets the description of the theme.
Public propertyDesignerThemesGets a list of designer themes associated with the workflow.
Public propertyStatic memberEnableChangeNotificationSets or gets the state of change notification.
Public propertyFilePathGets or sets the file path for the theme.
Public propertyStatic memberLookupPathGets the file path from the registry.
Public propertyNameGets or sets the name of the theme.
Public propertyReadOnlyGets or sets a value that indicates whether the workflow theme is read-only.
Public propertyStatic memberRegistryKeyPathGets the registry key path for the theme.
Public propertyStatic memberStandardThemesGets the list of standard themes.
Public propertyTypeGets the type of the theme.
Public propertyVersionGets or sets the version of the theme.
Top

  NameDescription
Public methodCloneCreates a duplicate theme.
Public methodStatic memberCreateStandardThemeCreates a standard theme.
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGenerateThemeFilePathGenerates a file path for the theme.
Public methodGetDesignerThemeGets the theme for the specified ActivityDesigner.
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberLoad(String)Loads the theme from the specified file path.
Public methodStatic memberLoad(IDesignerSerializationManager, String)Loads a new theme from the specified path using a serialization manager.
Public methodStatic memberLoadThemeSettingFromRegistryLoads a theme from the registry.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodSaveSaves a theme to a file.
Public methodStatic memberSaveThemeSettingToRegistrySaves a theme to the registry.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventStatic memberThemeChangedOccurs when a theme changes.
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposeReleases the managed resources used by the WorkflowTheme.
Top

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.

.NET Framework

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft