ThemeType 枚举

定义

警告

此 API 现已过时。

指定显示在“选项”对话框中的主题的类型。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
继承
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. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型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.

适用于