WorkflowTheme Class
Provides the look and feel property settings to a workflow in design-time environment.
Assembly: System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)
| Name | Description | |
|---|---|---|
![]() | WorkflowTheme() | Initializes a new instance of the WorkflowTheme class. |
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | 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.(Overrides Object::Finalize().) |
![]() ![]() | 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() | |
![]() ![]() | 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. |
![]() | 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.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ThemeChanged | Occurs when a theme changes. |
| Name | Description | |
|---|---|---|
![]() ![]() | IDisposable::Dispose() | Releases the managed resources used by the WorkflowTheme. |
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.
Available since 3.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.







