ThemeType ThemeType ThemeType ThemeType Enum

定義

警告

此 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
繼承
屬性

欄位

Default Default Default Default 0

主題設定由預設的工作流程主題提供。The theme settings are provided by the default workflow theme.

System System System System 1

主題設定由作業系統提供。The theme settings are provided by the operating system.

UserDefined UserDefined UserDefined 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.

主題定義背景 (Background)、前景、文字、圖示和其他用來呈現工作流程設計介面上工作流程的樣式。Themes define the background, foreground, text, icon and other styles used to render a workflow on the workflow design surface.

適用於