Partager via


ModelingToolboxItem Class

Definition

Represents a toolbox item for creating a group of model elements.

public ref class ModelingToolboxItem : Microsoft::VisualStudio::Modeling::Design::ModelingToolboxItemBase
[System.Security.SecurityCritical]
[System.Serializable]
public class ModelingToolboxItem : Microsoft.VisualStudio.Modeling.Design.ModelingToolboxItemBase
[<System.Security.SecurityCritical>]
[<System.Serializable>]
type ModelingToolboxItem = class
    inherit ModelingToolboxItemBase
Public Class ModelingToolboxItem
Inherits ModelingToolboxItemBase
Inheritance
ModelingToolboxItem
Attributes

Constructors

ModelingToolboxItem(SerializationInfo, StreamingContext)

Serialization constructor.

ModelingToolboxItem(String, Int32, String, Bitmap, String, String, String, String, ElementGroupPrototype, ICollection)

Initializes a new instance of the ModelingToolboxItem class.

Fields

ToolboxContextOrigin

Key used with CopyOriginContext to indicate that the copy originated in the Toolbox.

Properties

ComponentType

Gets the ComponentType string that is shown in the tooltip for this item.

(Inherited from ModelingToolboxItemBase)
ContextSensitiveHelpKeyword

Gets context sensitive help keyword of the toolbox item. Should NOT be localized.

(Inherited from ModelingToolboxItemBase)
Id

Gets the unique identified of this toolbox item.

(Inherited from ModelingToolboxItemBase)
Position

Gets the suggested position of the toolbox item.

(Inherited from ModelingToolboxItemBase)
Prototype

Gets the ElementGroupPrototype containing toolbox item data.

TabName

Gets the name of the toolbox tab to contain this item. Should be localized.

(Inherited from ModelingToolboxItemBase)
TabNameId

Gets non-localized name Id of the toolbox tab to contain this item. Must NOT be localized.

(Inherited from ModelingToolboxItemBase)

Methods

Deserialize(SerializationInfo, StreamingContext)

Deserialize this instance of the ModelingToolboxItem.

Equals(Object)

Determines whether two ModelingToolboxItemBase instances are equal.

(Inherited from ModelingToolboxItemBase)
GetHashCode()

Returns the hash code for this instance.

(Inherited from ModelingToolboxItemBase)
Serialize(SerializationInfo, StreamingContext)

Serializes this instance of the ModelingToolboxItem.

Applies to