Method AddItemForType
- Namespace
- Alternet.FormDesigner.WinForms
- Assembly
- Alternet.FormDesigner.v10.dll
AddItemForType(string, Type, CustomToolboxImage)
Adds toolbox item from type name.
public void AddItemForType(string categoryName, Type type, CustomToolboxImage customImage = null)
Parameters
categoryNamestringTab name where new items will be placed.
typeTypeType to get items from.
customImageCustomToolboxImageSpecifies Bitmap to draw with items.
AddItemForType(string, Type, string, CustomToolboxImage)
Adds toolbox item from type name.
public void AddItemForType(string categoryName, Type type, string displayName, CustomToolboxImage customImage = null)
Parameters
categoryNamestringTab name where new items will be placed.
typeTypeType to get items from.
displayNamestringSpecifies custom display name
customImageCustomToolboxImageSpecifies Bitmap to draw with items.