Adds item into toolbox control
Namespace:
Greatis.FormDesignerAssembly: Greatis.FormDesigner (in Greatis.FormDesigner.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public Sub AddToolboxItem ( _ componentType As Type, _ category As String _ ) |
| C# |
|---|
public void AddToolboxItem( Type componentType, string category ) |
| Visual C++ |
|---|
public: void AddToolboxItem( Type^ componentType, String^ category ) |
| JavaScript |
|---|
function addToolboxItem(componentType, category); |
Parameters
- componentType
- Type: System..::.Type
type of component
- category
- Type: System..::.String
category of item