ToolboxItemAttribute Constructor (Boolean)

 

Initializes a new instance of the ToolboxItemAttribute class and specifies whether to use default initialization values.

Namespace:   System.ComponentModel
Assembly:  System (in System.dll)

public:
ToolboxItemAttribute(
	bool defaultType
)

Parameters

defaultType
Type: System::Boolean

true to create a toolbox item attribute for a default type; false to associate no default toolbox item support for this attribute.

By default, the ToolboxItemType property is set to ToolboxItem.

.NET Framework
Available since 1.1
Return to top
Show: