ActivityToolboxItem 類別

定義

警告

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

提供工作流程設計器中與活動相關的所有工具箱項目的基底類別。

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

備註

Note

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

所有與 Activity 類別相關聯的工具箱項目皆源自 ActivityToolboxItem。 此類別在設計時環境的工具箱中顯示該類別的圖形表示 Activity ,並在使用者將類別拖曳到設計表面時,建立該類別的實例 Activity 。 活動工具箱項目通常代表在設計模式文件中呼叫時要建立的活動。

此類別直接繼承自該 ToolboxItem 類別。

建構函式

名稱 Description
ActivityToolboxItem()
已淘汰.

初始化 ActivityToolboxItem 類別的新執行個體。

ActivityToolboxItem(SerializationInfo, StreamingContext)
已淘汰.

透過指定的 ActivityToolboxItemSerializationInfo初始化該類別的新實例StreamingContext

ActivityToolboxItem(Type)
已淘汰.

初始化一個新的類別實例 ActivityToolboxItem ,創建指定類型的 Activity 元件。

屬性

名稱 Description
AssemblyName
已淘汰.

取得或設定包含工具箱項目所建立類型或類型的組件名稱。

(繼承來源 ToolboxItem)
Bitmap
已淘汰.

取得或設定一個點陣圖來代表工具箱中的工具箱項目。

(繼承來源 ToolboxItem)
Company
已淘汰.

取得或設定公司 ToolboxItem名稱。

(繼承來源 ToolboxItem)
ComponentType
已淘汰.

取得這個 ToolboxItem元件類型。

(繼承來源 ToolboxItem)
DependentAssemblies
已淘汰.

拿到或設定 AssemblyName 工具箱裡的物品。

(繼承來源 ToolboxItem)
Description
已淘汰.

取得或設定了這個 ToolboxItem描述。

(繼承來源 ToolboxItem)
DisplayName
已淘汰.

取得或設定工具箱項目的顯示名稱。

(繼承來源 ToolboxItem)
Filter
已淘汰.

取得或設定篩選條件,判斷工具箱項目是否能用於目的地元件。

(繼承來源 ToolboxItem)
IsTransient
已淘汰.

會得到一個值,表示工具箱物品是否為暫時性。

(繼承來源 ToolboxItem)
Locked
已淘汰.

會得到一個值,表示目前 ToolboxItem 是否被鎖定。

(繼承來源 ToolboxItem)
OriginalBitmap
已淘汰.

取得或設定原始點陣圖,這些點陣圖將用於此項目的工具箱中。

(繼承來源 ToolboxItem)
Properties
已淘汰.

拿到一本性質字典。

(繼承來源 ToolboxItem)
TypeName
已淘汰.

取得或設定工具箱項目在被呼叫時所產生的類型 IComponent 的完整限定名稱。

(繼承來源 ToolboxItem)
Version
已淘汰.

我會拿到這個 ToolboxItem版本。

(繼承來源 ToolboxItem)

方法

名稱 Description
CheckUnlocked()
已淘汰.

如果工具箱物品目前被鎖定,會拋出例外。

(繼承來源 ToolboxItem)
CreateComponents()
已淘汰.

建立工具箱項目所設定要建立的元件。

(繼承來源 ToolboxItem)
CreateComponents(IDesignerHost, IDictionary)
已淘汰.

使用指定的設計主機和預設值,建立工具箱項目所設定要建立的元件。

(繼承來源 ToolboxItem)
CreateComponents(IDesignerHost)
已淘汰.

使用指定的設計主機,建立工具箱項目所設定要建立的元件。

(繼承來源 ToolboxItem)
CreateComponentsCore(IDesignerHost, IDictionary)
已淘汰.

當工具箱項目被呼叫時,會建立一個元件陣列。

(繼承來源 ToolboxItem)
CreateComponentsCore(IDesignerHost)
已淘汰.

當工具箱項目被呼叫時,會建立一個 Activity 元件或元件 Activity 陣列。

CreateComponentsWithUI(IDesignerHost)
已淘汰.

建立一個 Activity 元件或元件 Activity 陣列,當工具箱項目被呼叫時,會在設計表面產生對話框。

Deserialize(SerializationInfo, StreamingContext)
已淘汰.

從指定的序列化資訊物件載入工具箱項目的狀態。

(繼承來源 ToolboxItem)
Equals(Object)
已淘汰.

判斷兩個 ToolboxItem 實例是否相等。

(繼承來源 ToolboxItem)
FilterPropertyValue(String, Object)
已淘汰.

在回傳前會篩選一個屬性值。

(繼承來源 ToolboxItem)
GetHashCode()
已淘汰.

傳回這個實例的哈希碼。

(繼承來源 ToolboxItem)
GetToolboxDisplayName(Type)
已淘汰.

取得工具箱中該工具箱項目的對應顯示名稱。

GetToolboxImage(Type)
已淘汰.

取得用來代表工具箱中工具箱項目的相關圖片。

GetType()
已淘汰.

取得目前實例的 Type

(繼承來源 Object)
GetType(IDesignerHost, AssemblyName, String, Boolean)
已淘汰.

建立指定型別的實例,並可選擇使用指定的設計主機與組合名稱。

(繼承來源 ToolboxItem)
GetType(IDesignerHost)
已淘汰.

可存取與工具箱項目相關的類型。

(繼承來源 ToolboxItem)
Initialize(Type)
已淘汰.

初始化目前工具箱項目,並以指定類型建立。

(繼承來源 ToolboxItem)
Lock()
已淘汰.

鎖定工具箱物品並阻止其屬性變更。

(繼承來源 ToolboxItem)
MemberwiseClone()
已淘汰.

建立目前 Object的淺層複本。

(繼承來源 Object)
OnComponentsCreated(ToolboxComponentsCreatedEventArgs)
已淘汰.

引發 ComponentsCreated 事件。

(繼承來源 ToolboxItem)
OnComponentsCreating(ToolboxComponentsCreatingEventArgs)
已淘汰.

引發 ComponentsCreating 事件。

(繼承來源 ToolboxItem)
Serialize(SerializationInfo, StreamingContext)
已淘汰.

將工具箱項目的狀態儲存到指定的序列化資訊物件。

(繼承來源 ToolboxItem)
ToString()
已淘汰.

回傳 String 代表電流 ToolboxItem的 a 。

(繼承來源 ToolboxItem)
ValidatePropertyType(String, Object, Type, Boolean)
已淘汰.

驗證物件屬於特定類型。

(繼承來源 ToolboxItem)
ValidatePropertyValue(String, Object)
已淘汰.

在屬性被指派到屬性字典之前,先驗證該屬性。

(繼承來源 ToolboxItem)

事件

名稱 Description
ComponentsCreated
已淘汰.

在元件建立後立即發生。

(繼承來源 ToolboxItem)
ComponentsCreating
已淘汰.

當元件即將被建立時,會發生這種情況。

(繼承來源 ToolboxItem)

明確介面實作

名稱 Description
ISerializable.GetObjectData(SerializationInfo, StreamingContext)
已淘汰.

關於此成員的描述,請參見方法。GetObjectData(SerializationInfo, StreamingContext)

(繼承來源 ToolboxItem)

適用於