ActivityDesignerTheme 類別

定義

警告

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

在設計時環境中,為設計師提供物業的外觀與氛圍。

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

備註

Note

此數據會討論已過時的類型和命名空間。 欲了解更多資訊,請參閱 Windows Workflow Foundation 4.5 中的 Deprecated Types。

設計師主題定義了設計師的外觀與氛圍。 這包括為設計師定義的任何背景樣式、前景樣式、字型和圖示。

如果你想為設計師獨有的屬性提供設定功能,可以建立自訂設計師主題。 如果你沒有為自訂設計師指定設計主題,則會使用基底類別的主題。

建構函式

名稱 Description
ActivityDesignerTheme(WorkflowTheme)
已淘汰.

初始化一個 ActivityDesignerTheme實例。

屬性

名稱 Description
ApplyTo
已淘汰.

取得或設定設計師主題所套用的設計型別的不限定名稱。

(繼承來源 DesignerTheme)
BackColorEnd
已淘汰.

當背景色使用色階時,會取得或設定 Color 以 結尾。

BackColorStart
已淘汰.

當背景使用色階時,會取得或設定背景的起始顏色。

BackgroundStyle
已淘汰.

取得或設定背景風格。

BoldFont
已淘汰.

會拿到主題的字體。

BorderColor
已淘汰.

為主題設定或設定 BorderColor

BorderPen
已淘汰.

因為主題而選擇了邊界筆。

BorderStyle
已淘汰.

取得或設定邊框所用的風格。

BorderWidth
已淘汰.

會得到邊界寬度(像素數)。

ContainingTheme
已淘汰.

取得封裝設計師主題的工作流程主題。

(繼承來源 DesignerTheme)
DesignerGeometry
已淘汰.

能掌握設計師的幾何結構。

DesignerImage
已淘汰.

取得與設計師相關的影像。

DesignerImagePath
已淘汰.

為設計師取得或設定影像路徑。

DesignerType
已淘汰.

取得或設定與設計師主題相關的設計師類型。

(繼承來源 DesignerTheme)
Font
已淘汰.

取得主題所用文字的字體。

ForeColor
已淘汰.

設定或設定前景的顏色。

ForegroundBrush
已淘汰.

取得 Brush 與主題相關的物件。

ForegroundPen
已淘汰.

它被 Pen 用來繪製主題前景。

ImageSize
已淘汰.

能掌握主題圖片的大小。

ReadOnly
已淘汰.

會有一個值,表示設計師主題是否為唯讀。

(繼承來源 DesignerTheme)
Size
已淘汰.

能跟設計師的體型一樣。

方法

名稱 Description
Dispose(Boolean)
已淘汰.

釋放 Unmanaged 資源,並選擇性釋放 ActivityDesignerTheme所使用的受控資源。

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetBackgroundBrush(Rectangle)
已淘汰.

拿一把刷子來畫出經過的矩形指定區域。

GetHashCode()
已淘汰.

做為預設哈希函式。

(繼承來源 Object)
GetType()
已淘汰.

取得目前實例的 Type

(繼承來源 Object)
Initialize()
已淘汰.

初始化設計主題。

MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
OnAmbientPropertyChanged(AmbientProperty)
已淘汰.

被呼叫來通知環境設定變更。

ToString()
已淘汰.

傳回表示目前 物件的字串。

(繼承來源 Object)

明確介面實作

名稱 Description
IDisposable.Dispose()
已淘汰.

執行與釋放、釋放或重設非受控資源相關聯的應用程式定義工作。

(繼承來源 DesignerTheme)

適用於