ToolboxItemWrapper 類別

定義

表示包裝函式,這個包裝函式可用來建立實際 ToolboxItem 執行個體與工具表示法之間的連結,以及增加分類工具箱項目的支援。Represents a wrapper used to establish link between an actual ToolboxItem instance and the tool representation, as well as add support for categorization of toolbox items. 這個類別是 sealed,因此無法繼承。This class is sealed, so it cannot be inherited.

public ref class ToolboxItemWrapper sealed : System::ComponentModel::INotifyPropertyChanged
public sealed class ToolboxItemWrapper : System.ComponentModel.INotifyPropertyChanged
type ToolboxItemWrapper = class
    interface INotifyPropertyChanged
Public NotInheritable Class ToolboxItemWrapper
Implements INotifyPropertyChanged
繼承
ToolboxItemWrapper
實作

備註

Windows Workflow DesignerWindows Workflow Designer外部重新裝載 Visual Studio 2010Visual Studio 2010 時,此包裝函式類別會提供分類工具箱項目的支援。This wrapper class provides support for the categorization of toolbox items when re-hosting the Windows Workflow DesignerWindows Workflow Designeroutside of Visual Studio 2010Visual Studio 2010.

建構函式

ToolboxItemWrapper()

初始化 ToolboxItemWrapper 類別的新執行個體。Initializes a new instance of the ToolboxItemWrapper class.

ToolboxItemWrapper(String, String, String, String)

使用工具、組件、點陣圖與顯示之指定的名稱,初始化 ToolboxItemWrapper 類別的新執行個體。Initializes a new instance of the ToolboxItemWrapper class with specified names for the tool, assembly, bitmap, and display.

ToolboxItemWrapper(Type)

使用工具的型別,初始化 ToolboxItemWrapper 類別的新執行個體。Initializes a new instance of the ToolboxItemWrapper class with the type of the tool.

ToolboxItemWrapper(Type, String)

使用工具的型別與指定的顯示名稱,初始化 ToolboxItemWrapper 類別的新執行個體。Initializes a new instance of the ToolboxItemWrapper class with the type of the tool and a specified display name.

ToolboxItemWrapper(Type, String, String)

使用工具的型別與指定之點陣圖和顯示的名稱,初始化 ToolboxItemWrapper 類別的新執行個體。Initializes a new instance of the ToolboxItemWrapper class with the type of the tool and specified names for the bitmap and display.

屬性

AssemblyName

取得或設定工具箱項目的組件名稱。Gets or sets the assembly name for the toolbox item.

Bitmap

取得與目前物件包裝之 ToolboxItem 相關聯的點陣圖。Gets the bitmap associated with the ToolboxItem wrapped by the current object.

BitmapName

取得或設定點陣圖名稱。Gets or sets the bitmap name.

DisplayName

取得或設定顯示名稱。Gets or sets the display name.

IsValid

取得值,這個值表示此 ToolboxItem 是否有效。Gets a value that indicates whether this ToolboxItem is valid.

ToolName

取得或設定工具的名稱。Gets or sets the name of the tool.

Type

取得 ToolboxItem 的類型。Gets the type of the ToolboxItem.

方法

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)
MemberwiseClone()

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

(繼承來源 Object)
ToString()

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

事件

PropertyChanged

屬性變更時發生的事件。An event that occurs when a property is changed.

適用於