ToolboxItemAttribute Constructor (Boolean)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: