Share via


IToolboxItemInfo Interface

Definition

Supplies information about a managed type from which a toolbox item may be created.

public interface class IToolboxItemInfo
public interface class IToolboxItemInfo
__interface IToolboxItemInfo
public interface IToolboxItemInfo
type IToolboxItemInfo = interface
Public Interface IToolboxItemInfo

Remarks

Implemented by packages and supplied via IToolboxItemDiscovery.GetItemInfo.

Properties

DisplayName

Gets the display name of the toolbox item.

ExtraInfo

Gets a collection of name-value pairs which will be passed to IToolboxItemCreator.CreateToolboxItem if the user chooses to create the item.

Icon

Gets the icon for the toolbox item, as a file path, byte array, Bitmap, or IntPtr.

TransparentColor

Gets the background color which will be rendered as transparent in the toolbox image. This may be a System.Drawing.Color or a System.Windows.Media.Color. Any other type, or a null value, will result in an exception being thrown.

Methods

GetPropertyValue(String)

Given a property ID, returns the corresponding value for this item.

Applies to