Share via


ModelingToolboxItem Members

Include Protected Members
Include Inherited Members

Represents a toolbox item generated in the Domain-Specific Language Tools (DSL Tools).

The ModelingToolboxItem type exposes the following members.

Constructors

 

Name

Description

Public method

ModelingToolboxItem

Overloaded. Initializes a new instance of the ModelingToolboxItem class.

Top

Methods

 

Name

Description

Protected method

CheckUnlocked

Throws an exception if the toolbox item is currently locked. (Inherited from ToolboxItem.)

Public method

CreateComponents

Overloaded. Creates the components that the toolbox item is configured to create.

Protected method

CreateComponentsCore

Overloaded. Creates a component or an array of components when the toolbox item is invoked.

Protected method

Deserialize

Loads the state of the toolbox item from the specified serialization information object. (Overrides ToolboxItem.Deserialize(SerializationInfo, StreamingContext).)

Public method

Equals

Determines whether two instances of this class are equal. (Overrides ToolboxItem.Equals(Object).)

Protected method

FilterPropertyValue

Filters a property value before returning it. (Inherited from ToolboxItem.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

GetHashCode

Returns the hash code for this instance. (Overrides ToolboxItem.GetHashCode().)

Public method

GetType

Overloaded. Creates an instance of the specified type.

Public method

Initialize

Initializes the current toolbox item with the specified type to create. (Inherited from ToolboxItem.)

Public method

Lock

Locks the toolbox item and prevents changes to its properties. (Inherited from ToolboxItem.)

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Protected method

OnComponentsCreated

Raises the ComponentsCreated event. (Inherited from ToolboxItem.)

Protected method

OnComponentsCreating

Raises the ComponentsCreating event. (Inherited from ToolboxItem.)

Protected method

Serialize

Saves the state of the toolbox item to the specified serialization information object. (Overrides ToolboxItem.Serialize(SerializationInfo, StreamingContext).)

Public method

ToString

Returns a String that represents the current ToolboxItem. (Inherited from ToolboxItem.)

Protected method

ValidatePropertyType

Validates that an object is of a given type. (Inherited from ToolboxItem.)

Protected method

ValidatePropertyValue

Validates a property before it is assigned to the property dictionary. (Inherited from ToolboxItem.)

Top

Fields

 

Name

Description

Public fieldStatic member

ToolboxContextOrigin

Specifies the key that indicates that a copy operation originated in the Toolbox. This field is constant.

Top

Properties

 

Name

Description

Public property

AssemblyName

Gets or sets the name of the assembly that contains the type or types that the toolbox item creates. (Inherited from ToolboxItem.)

Public property

Bitmap

Gets or sets a bitmap to represent the toolbox item in the toolbox. (Inherited from ToolboxItem.)

Public property

Company

Gets or sets the company name for this ToolboxItem. (Inherited from ToolboxItem.)

Public property

ComponentType

Always returns the empty string (""). (Overrides ToolboxItem.ComponentType.)

Public property

ContextSensitiveHelpKeyword

Gets the F1 keyword for the Help topic associated with this toolbox item.

Public property

DependentAssemblies

Gets or sets the AssemblyName for the toolbox item. (Inherited from ToolboxItem.)

Public property

Description

Gets or sets the description for this ToolboxItem. (Inherited from ToolboxItem.)

Public property

DisplayName

Gets or sets the display name for the toolbox item. (Inherited from ToolboxItem.)

Public property

Filter

Gets or sets the filter that determines whether the toolbox item can be used on a destination component. (Inherited from ToolboxItem.)

Public property

Id

Gets the identifier for this toolbox item.

Public property

IsTransient

Gets a value indicating whether the toolbox item is transient. (Inherited from ToolboxItem.)

Public property

Locked

Gets a value indicating whether the ToolboxItem is currently locked. (Inherited from ToolboxItem.)

Public property

Position

Gets the zero-based index of this toolbox item on the DSL tab in the generated designer.

Public property

Properties

Gets a dictionary of properties. (Inherited from ToolboxItem.)

Public property

Prototype

Gets or sets the information required to create an ElementGroup for this toolbox item.

Public property

TabName

Gets the localized name of the Toolbox tab with which this toolbox item is associated.

Public property

TabNameId

Gets the identifier for the Toolbox tab with which this toolbox item is associated.

Public property

TypeName

Gets or sets the fully qualified name of the type of IComponent that the toolbox item creates when invoked. (Inherited from ToolboxItem.)

Public property

Version

Gets the version for this ToolboxItem. (Inherited from ToolboxItem.)

Top

Events

 

Name

Description

Public event

ComponentsCreated

Occurs immediately after components are created. (Inherited from ToolboxItem.)

Public event

ComponentsCreating

Occurs when components are about to be created. (Inherited from ToolboxItem.)

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

ISerializable.GetObjectData

For a description of this member, see the GetObjectData method. (Inherited from ToolboxItem.)

Top

See Also

Reference

ModelingToolboxItem Class

Microsoft.VisualStudio.Modeling.Design Namespace