AddItemForType Method
AddItemForType(String, Type, ImageSource)
Adds toolbox item from type name.
Declaration
public void AddItemForType(string categoryName, Type type, ImageSource customImage = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | categoryName | Tab name where new items will be placed. |
System.Type | type | Type to get items from. |
System.Windows.Media.ImageSource | customImage | Specifies ImageSource to draw with items. |