[]
Serves as the foundational class for implementing a toolbox service that manages toolbox items and their interactions within a design-time environment. This abstract class provides a framework for toolbox functionality, including the management of toolbox items, categories, and the design surface interaction.
public abstract class BaseToolbox : GroupListbar, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, ISerializable, ISupportInitialize, IToolboxService
Name | Description |
---|---|
CategoryNames | Gets the categories currently available on the toolbox. |
Groups | Gets all toolbox groups. |
SelectedCategory | Gets or sets the currently selected toolbox category. |
Name | Description |
---|---|
AddToolboxItem(ToolboxItem) | Adds a ToolboxItem to the toolbox into the "General" category. |
AddToolboxItem(ToolboxItem, string) | Adds a ToolboxItem to the toolbox, creating the optionally specified category if it does not exist. |
ChangeVisibilityCategory(string, bool) | Changes the visibility of the specified category in the toolbox. |
ConfigureToolboxItems(IToolboxUser) | Configures the toolbox items based on the specified IToolboxUser object. |
EnableCategory(string, bool) | Enables or disables the specified category in the toolbox. |
EnsureCategories() | Updates the enabled state of all categories in the toolbox. |
GetSelectedToolboxItem() | Gets the currently selected toolbox item. |
GetToolboxItems() | Gets the entire collection of toolbox items from the toolbox. |
GetToolboxItems(string) | Gets a collection of toolbox items from the toolbox that match the specified category. |
RemoveToolboxItem(ToolboxItem) | Removes the specified ToolboxItem from the toolbox. |
Reorder(Designer) | Reorders the toolbox items based on the specified Designer object. |
SelectedToolboxItemUsed() | Signals the toolbox that the selected toolbox item has been used. |