AmbientTheme 類別

定義

警告

此 API 現已淘汰。

為設計階段環境的最上層工作流程提供外觀及操作屬性設定。Provides the look and feel property settings to a top-level workflow in a design-time environment.

public ref class AmbientTheme : System::Workflow::ComponentModel::Design::DesignerTheme
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class AmbientTheme : System.Workflow.ComponentModel.Design.DesignerTheme
type AmbientTheme = class
    inherit DesignerTheme
Public Class AmbientTheme
Inherits DesignerTheme
繼承
AmbientTheme
屬性

備註

注意

此資料討論已被汰換的類型及命名空間。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.

工作流程主題定義了工作流程設計介面的外觀及操作。Workflow themes define the look and feel of a workflow design surface. 這包含工作流程設計介面定義的所有背景樣式、前景樣式、字型和圖示。This includes any background styles, foreground styles, fonts, and icons defined for the workflow design surface. 環境主題包含了工作流程設計介面的預設顯示屬性。An ambient theme contains the default display properties for the workflow design surface. 它提供了在整個設計介面中使用的設定 (例如格線、背景和前景色彩、唯讀設計工具色彩等等)。It provides settings to be used across the entire design surface (for example, the grid, background and foreground colors, read-only designer color, and so on). 而且可以採用使用者選取的值或作業系統提供的值。It can use either user-selected values or the values from the operational system.

建構函式

AmbientTheme(WorkflowTheme)

使用 AmbientTheme 來初始化 WorkflowTheme 類別的新執行個體。Initializes a new instance of the AmbientTheme class by using a WorkflowTheme.

屬性

ApplyTo

取得或設定設計工具主題要套用之設計工具類型的不合格名稱。Gets or sets the unqualified name of the designer type to which the designer theme is applied.

(繼承來源 DesignerTheme)
BackColor

取得或設定工作流程設計介面上的環境背景色彩。Gets or sets the ambient back color on a workflow design surface.

BackgroundBrush

取得用來填滿顯示在工作流程設計介面上圖形化圖案的環境筆刷。Gets the ambient brush used to fill graphical shapes displayed on the workflow design surface.

BoldFont

取得工作流程設計介面的環境粗體字型設定。Gets the ambient bold font setting for the workflow design surface.

BorderWidth

取得放在工作流程設計介面上物件的環境框線寬度。Gets the ambient border width for objects that are placed onto the workflow design surface.

CommentIndicatorBrush

取得與工作流程設計介面上、已加上註解的設計工具相關聯的環境筆刷。Gets the ambient brush associated with commented designers on the workflow design surface.

CommentIndicatorColor

取得或設定與工作流程設計介面上、已加上註解的設計工具相關聯的環境色彩。Gets or sets the ambient color associated with commented designers on the workflow design surface.

CommentIndicatorPen

取得與工作流程設計介面上、已加上註解的設計工具相關聯的環境畫筆。Gets the ambient pen associated with commented designers on the workflow design surface.

ContainingTheme

取得封裝設計工具主題的工作流程主題。Gets the workflow theme that encapsulates the designer theme.

(繼承來源 DesignerTheme)
DesignerSize

取得或設定工作流程設計介面上活動設計工具的環境大小設定。Gets or sets the ambient size settings for activity designers on the workflow design surface.

DesignerType

取得或設定與設計工具主題關聯的設計工具類型。Gets or sets the type of the designer associated with the designer theme.

(繼承來源 DesignerTheme)
DrawGrayscale

取得或設定值,表示與工作流程設計介面關聯的環境主題是否繪製灰階。Gets or sets a value indicating whether the ambient theme associated with the workflow design surface draws grayscales.

DrawRounded

取得或設定值,表示與工作流程設計介面關聯的環境主題是否繪製圓角圖案。Gets or sets a value indicating whether the ambient theme associated with the workflow design surface draws rounded shapes.

DrawShadow

取得或設定值,表示與工作流程設計介面關聯的環境主題是否繪製陰影。Gets or sets a value indicating whether the ambient theme associated with the workflow design surface draws shadows.

DropIndicatorBrush

取得與您拖曳到工作流程設計介面上之物件關聯的環境筆刷。Gets the ambient brush associated with an object that you drag onto the workflow design surface.

DropIndicatorColor

取得或設定與您拖曳到工作流程設計介面上之物件相關聯的環境色彩。Gets or sets the ambient color associated with an object that you drags onto the workflow design surface.

DropIndicatorPen

取得與您拖曳到工作流程設計介面上之物件相關聯的環境畫筆。Gets the ambient pen associated with an object that you drag onto the workflow design surface.

Font

取得工作流程設計介面的環境字型設定。Gets the ambient font settings for the workflow design surface.

FontName

取得或設定工作流程設計介面的環境字型名稱。Gets or sets the ambient font name for the workflow design surface.

ForeColor

取得或設定工作流程設計介面的環境前景色彩屬性。Gets or sets the ambient fore color property for the workflow design surface.

ForegroundBrush

取得工作流程設計介面的環境前景筆刷。Gets the ambient foreground brush for the workflow design surface.

ForegroundPen

取得工作流程設計介面的環境前景畫筆。Gets the ambient foreground pen for the workflow design surface.

GlyphSize

取得或設定工作流程設計介面上的環境圖像 (Glyph) 高度和寬度。Gets the ambient height and width of glyphs on the workflow design surface.

GridColor

取得或設定工作流程設計介面的環境格線色彩。Gets or sets the ambient grid color for the workflow design surface.

GridSize

取得工作流程設計介面上顯示的環境格線大小。Gets the ambient size of the grid to display on the workflow design surface.

GridStyle

取得或設定工作流程設計介面的環境格線樣式。Gets or sets the ambient grid style for the workflow design surface.

MajorGridBrush

取得工作流程設計介面上主要格線的環境筆刷設定。Gets the ambient brush settings for major grids on the workflow design surface.

MajorGridPen

取得工作流程設計介面上主要格線的環境畫筆設定。Gets the ambient pen settings for major grids on the workflow design surface.

Margin

取得工作流程設計介面的環境邊界設定。Gets the ambient margin settings for the workflow design surface.

MinorGridPen

取得工作流程設計介面上次要格線的環境畫筆設定。Gets the ambient pen settings for minor grids on the workflow design surface.

ReadOnly

取得值,這個值會指出設計工具主題是否為唯讀。Gets a value that indicates whether the designer theme is read-only.

(繼承來源 DesignerTheme)
ReadonlyIndicatorBrush

取得用來填滿圖形化圖案的環境筆刷,這些圖形化圖案與工作流程設計介面上顯示的唯讀項目相關聯。Gets the ambient brush used to fill graphical shapes associated with read-only items displayed on the workflow design surface.

ReadonlyIndicatorColor

取得或設定工作流程設計介面上唯讀項目的環境色彩。Gets or sets the ambient color for read-only items on the workflow design surface.

SelectionForeColor

取得或設定工作流程設計介面上已選取之項目的環境色彩。Gets or sets the ambient color for selected items on the workflow design surface.

SelectionForegroundBrush

取得用來填滿圖形化圖案的前景筆刷,這些圖形化圖案與工作流程設計介面上顯示的已選取項目相關聯。Gets the ambient foreground brush used to fill graphical shapes associated with selected items displayed on the workflow design surface.

SelectionForegroundPen

取得工作流程設計介面上已選取之項目的環境前景畫筆設定。Gets the ambient foreground pen settings for selected items on the workflow design surface.

SelectionPatternColor

取得或設定工作流程設計介面上您所選項目的環境圖樣色彩。Gets or sets the ambient pattern color for items that you select on the workflow design surface.

SelectionPatternPen

取得圖樣的環境畫筆設定,該圖樣與工作流程設計介面上已選取之項目關聯。Gets the ambient pen settings for the pattern associated with selected items on the workflow design surface.

SelectionSize

取得工作流程設計介面上已選取之項目的環境大小。Gets the ambient size of a selected item on the workflow design surface.

ShowConfigErrors

取得或設定值,指出工作流程設計介面是否顯示組態錯誤。Gets or sets a value that indicates whether the workflow design surface displays configuration errors.

ShowDesignerBorder

取得或設定值,指出工作流程設計介面是否顯示設計工具框線。Gets or sets a value indicating whether the workflow design surface displays designer borders.

ShowGrid

取得或設定值,指出工作流程設計介面上是否顯示格線。Gets or sets a value indicating whether grids will be shown on the workflow design surface.

TextQuality

取得或設定工作流程設計介面上顯示的文字品質。Gets or sets the text quality to display on the workflow design surface.

UseOperatingSystemSettings

取得或設定值,指出 AmbientTheme 是否使用作業系統的主題設定。Gets or sets a value indicating whether the AmbientTheme uses the theme settings of the operating system.

WatermarkAlignment

取得或設定工作流程設計介面上浮水印影像的環境對齊設定。Gets or sets the ambient alignment settings for watermark images on the workflow design surface.

WatermarkImagePath

取得或設定要顯示在工作流程設計介面上做為浮水印的影像環境路徑。Gets or sets the ambient path to the image to display as a watermark on the workflow design surface.

WorkflowWatermarkImage

取得要關聯到工作流程設計介面上做為浮水印的環境影像。Gets the ambient image to associate with the workflow design surface as its watermark.

方法

Dispose(Boolean)

釋放 AmbientTheme 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。Releases the unmanaged resources used by the AmbientTheme and optionally releases the managed resources.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GetHashCode()

作為預設雜湊函數。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
Initialize()

執行 AmbientTheme 不會執行的其他 AmbientTheme(WorkflowTheme) 類別初始化工作。Performs additional initialization tasks for the AmbientTheme class that are not performed by the AmbientTheme(WorkflowTheme).

MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
OnAmbientPropertyChanged(AmbientProperty)

AmbientThemeAmbientProperty列舉值變更時通知 。Notifies the AmbientTheme when the value of the AmbientProperty enumeration changes.

ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)

明確介面實作

IDisposable.Dispose()

執行與釋放 (Free)、釋放 (Release) 或重設 Unmanaged 資源相關聯之應用程式定義的工作。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(繼承來源 DesignerTheme)

適用於