Partager via


IToolboxItemInfo Interface

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

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'Declaration
Public Interface IToolboxItemInfo
public interface IToolboxItemInfo
public interface class IToolboxItemInfo
type IToolboxItemInfo =  interface end
public interface IToolboxItemInfo

The IToolboxItemInfo type exposes the following members.

Properties

  Name Description
Public property DisplayName Gets the display name of the toolbox item.
Public property ExtraInfo Gets a collection of name-value pairs that will be passed to CreateToolboxItem if the user chooses to create the item.
Public property Icon Gets the icon for the toolbox item as a file path, byte array, Bitmap, or IntPtr.
Public property TransparentColor Gets the background color that will be rendered as transparent in the toolbox image.

Top

Methods

  Name Description
Public method GetPropertyValue Returns the corresponding value for this item from a given property identifier.

Top

Remarks

This interface is implemented by packages and returned from GetItemInfo.

See Also

Reference

Microsoft.VisualStudio.Shell Namespace