IToolboxControl Interface
Definition
Represents properties and methods to display components and controls that user can place onto design surface.
Syntax
public interface IToolboxControl
Properties
CategoryNames | When implemented by a class, gets collection of Categories (Tabs) displayed by the toolbox |
Control | When implemented by a class, gets a control implementing the toolbox. |
SelectedCategory | When implemented by a class, gets or sets currently selected toolbox category. |
SelectedToolboxItem | When implemented by a class, returns currently selected toolbox item. |
Methods
AddCategory(String) | When implemented by a class, adds new category to the toolbox. |
AddItem(String, ToolboxItem) | When implemented by a class, places toolbox item onto specified toolbox tab. |
AddItemForType(String, Type, ImageSource) | When implemented by a class, adds toolbox item from type name. |
AddItemsFromAssembly(String, Assembly) | When implemented by a class, add all types that can appear on the toolbox from the assembly. |
BeginUpdate() | When implemented by a class, prevents repainting of the toolbox until EndUpdate is called. |
Clear() | When implemented by a class, deletes all tabs and items from the toolbox. |
ClearItemsInCategory(String) | When implemented by a class, clears items in the specified tab. |
DoesCategoryExist(String) | When implemented by a class, identifies whether given category exist in the IToolboxControl. |
DoesItemExist(String, ToolboxItem) | When implemented by a class, identifies whether given item exist in the specified tab. |
EndUpdate() | When implemented by a class, re-enables toolbox repainting. |
GetAllTools() | When implemented by a class, gets all toolbox items. |
GetToolsFromCategory(String) | When implemented by a class, gets toolbox items on the specified tab. |
Load(Stream) | When implemented by a class, loads the toolbox content from the specified stream. |
MoveCategory(String, Int32) | When implemented by a class, moves category to its current position plus value specified by positionDifference parameter. |
MoveItem(String, ToolboxItem, Int32) | When implemented by a class, moves item to its current position plus value specified by positionDifference parameter. |
RemoveAllCategories() | When implemented by a class, removes all categories from the toolbox control. |
RemoveCategory(String) | When implemented by a class, removes specified tab. |
RemoveItem(String, ToolboxItem) | When implemented by a class, removes toolbox item from the category. |
RenameCategory(String, String) | When implemented by a class, renames the specified category. |
Reset() | When implemented by a class, resets the toolbox content to defaults. |
Save(Stream) | When implemented by a class, saves the toolbox content to the specified stream. |
SelectPointer() | When implemented by a class, deselects currently selected toolbox item and selects pointer tool. |
SetSelectedItem(String, ToolboxItem) | When implemented by a class, selects toolbox item. |