DesignerTheme DesignerTheme DesignerTheme DesignerTheme Class

定義

警告

此 API 現已淘汰。

為工作流程設計階段環境使用的活動設計工具主題類別,提供基底類別 (Base Class) 實作。Supplies base class implementation for all activity designer theme classes used in a workflow design-time environment.

public ref class DesignerTheme abstract : IDisposable
[System.ComponentModel.TypeConverter(typeof(System.Workflow.ComponentModel.Design.ThemeTypeConverter))]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public abstract class DesignerTheme : IDisposable
type DesignerTheme = class
    interface IDisposable
Public MustInherit Class DesignerTheme
Implements IDisposable
繼承
DesignerThemeDesignerThemeDesignerThemeDesignerTheme
衍生
屬性
實作

備註

注意

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

所有提供主題屬性設定給 ActivityDesigner 類別的類別,必須繼承自 DesignerTheme 類別。All classes that supply theme property settings to ActivityDesigner classes must inherit from the DesignerTheme class. 設計工具主題提供一組屬性值,這些屬性值可用來顯示工作流程設計介面上設計工具類別的背景/前景的色彩和樣式、字型和其他樣式設定。Designer themes provide a set of property values with which to display background and foreground colors and styles, fonts, and other style settings for the designer classes displayed on a workflow design surface.

AmbientTheme 類別也繼承自 DesignerThemeThe AmbientTheme class also inherits from DesignerTheme.

建構函式

DesignerTheme(WorkflowTheme) DesignerTheme(WorkflowTheme) DesignerTheme(WorkflowTheme) DesignerTheme(WorkflowTheme)

在衍生類別中實作時,會使用 DesignerTheme 物件初始化 WorkflowTheme 類別的新執行個體。When implemented in a derived class, initializes a new instance of the DesignerTheme class by using a WorkflowTheme object.

屬性

ApplyTo ApplyTo ApplyTo ApplyTo

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

ContainingTheme ContainingTheme ContainingTheme ContainingTheme

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

DesignerType DesignerType DesignerType DesignerType

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

ReadOnly ReadOnly ReadOnly ReadOnly

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

方法

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

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

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
Finalize() Finalize() Finalize() Finalize()

在記憶體回收開始前,允許 DesignerTheme 嘗試釋放資源,並執行其他清除作業。Allows the DesignerTheme to attempt to free resources and perform other clean-up operations before it is reclaimed by garbage collection.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

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

(Inherited from Object)
Initialize() Initialize() Initialize() Initialize()

DesignerTheme(WorkflowTheme) 執行初始化後進行進一步的初始化工作。Performs further initialization tasks beyond those performed by DesignerTheme(WorkflowTheme).

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty) OnAmbientPropertyChanged(AmbientProperty)

通知設計工具主題類別,設計工具的環境屬性設定已變更。Notifies the designer theme class that the ambient property settings for the designer have changed.

ToString() ToString() ToString() ToString()

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

(Inherited from Object)

明確介面實作

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

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

適用於