ThemeType Enum



This API is now obsolete.

Specifies the type of theme displayed in the Options dialog box.

public enum class ThemeType
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum ThemeType
type ThemeType = 
Public Enum ThemeType


Default 0

The theme settings are provided by the default workflow theme.

System 1

The theme settings are provided by the operating system.

UserDefined 2

The theme settings are provided by user-defined themes.



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

The user can modify UserDefined themes in the workflow designer, but cannot modify Default or System themes in that context.

The Options dialog box appears when a user right-clicks the workflow design surface and selects Select Custom Themeā€¦. The Default and System categories are listed under the Standard Themes header in the selection window, while the UserDefined category, which contains any themes created by the user, are listed under the User Defined Themes header.

Themes define the background, foreground, text, icon and other styles used to render a workflow on the workflow design surface.

Applies to