編集

次の方法で共有


ToolboxItemWrapper Class

Definition

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. 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
Inheritance
ToolboxItemWrapper
Implements

Remarks

This wrapper class provides support for the categorization of toolbox items when re-hosting the Windows Workflow Designeroutside of Visual Studio 2010.

Constructors

ToolboxItemWrapper()

Initializes a new instance of the ToolboxItemWrapper class.

ToolboxItemWrapper(String, String, String, String)

Initializes a new instance of the ToolboxItemWrapper class with specified names for the tool, assembly, bitmap, and display.

ToolboxItemWrapper(Type, String, String)

Initializes a new instance of the ToolboxItemWrapper class with the type of the tool and specified names for the bitmap and display.

ToolboxItemWrapper(Type, String)

Initializes a new instance of the ToolboxItemWrapper class with the type of the tool and a specified display name.

ToolboxItemWrapper(Type)

Initializes a new instance of the ToolboxItemWrapper class with the type of the tool.

Properties

AssemblyName

Gets or sets the assembly name for the toolbox item.

Bitmap

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

Gets a value that indicates whether this ToolboxItem is valid.

ToolName

Gets or sets the name of the tool.

Type

Gets the type of the ToolboxItem.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

Events

PropertyChanged

An event that occurs when a property is changed.

Applies to