Method AddItemForType
- Namespace
- Alternet.FormDesigner.WinForms
- Assembly
- Alternet.FormDesigner.v9.dll
AddItemForType(string, Type, CustomToolboxImage)
Adds toolbox item from type name.
public void AddItemForType(string categoryName, Type type, CustomToolboxImage customImage = null)
Parameters
categoryName
stringTab name where new items will be placed.
type
TypeType to get items from.
customImage
CustomToolboxImageSpecifies 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
categoryName
stringTab name where new items will be placed.
type
TypeType to get items from.
displayName
stringSpecifies custom display name
customImage
CustomToolboxImageSpecifies Bitmap to draw with items.