NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

ToolboxItem Members

Public:

Constructor

ToolboxItem Constructor Overloaded. [To be supplied.]

Properties

AssemblyNames Retrieves the list of module paths associated with each type contained in this ToolboxItem
DisplayName Retrieves the display name for this ToolboxItem. This is the string that will be displayed for the item in the toolbox
Flags Retrieves the capability flags of this item.
ItemBitmap Retrieves the Bitmap that will be used on the toolbox for this item. This bitmap must be 16 x 16 pixels.
ItemCount Retrieves the number of Types contained in this ToolboxItem
ItemTypeNames Retrieves the fully-qualified string names of the Types contained in this ToolboxItem

Methods

CreateComponents Overloaded. [To be supplied.]
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetType (inherited from Object) Gets the Type of the Object.
Save Saves this ToolboxItem's state from the stream. If derived classes wish to do any special persistance they MUST override this method, and first call base.Save() before doing their own persistance.
ToString (inherited from Object) Returns a String that represents the current Object.

Events

ComponentsCreated [To be supplied.]

Fields

Version The version number of the toolbox item. Increment this number every time a change is made to the ToolboxItem or assembly that requires the toolbox to be reset.

Protected:

Methods

CreateComponentsCore Creates objects from each Type contained in this ToolboxItem, and adds them to the designer. You may override this method to alter the way components are created.
Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by the Garbage Collector (GC). This method may be ignored by the runtime; therefore, necessary cleanup operations should be done elsewhere.
Load Loads this ToolboxItem's state from the stream. If derived classes wish to do any special persistance they MUST override this method, and first call base.Load() before doing their own persistance.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnComponentsCreated Fires a handler that will be fired when this ToolboxItem creates a Component.

Event Hookup:

Methods

AddOnComponentsCreated Adds a handler that will be fired when this ToolboxItem creates a Component.
RemoveOnComponentsCreated Removes a handler that will be fired when this ToolboxItem creates a Component.

See Also

ToolboxItem Class | System.Drawing.Design Namespace