Interface IToolboxControl
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
Represents properties and methods to display components and controls that user can place onto design surface.
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.
- EditCategory(string)
When implemented by a class, starts to edit the specified category.
- EditItem(string)
When implemented by a class, starts to edit the specified toolbx item.
- 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, int)
When implemented by a class, moves category to its current position plus value specified by positionDifference parameter.
- MoveItem(string, ToolboxItem, int)
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.