Class CreateComponentTool
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
A tool that creates a component.
public class CreateComponentTool : ITool, IToolItemAdder
- Inheritance
-
CreateComponentTool
- Implements
Constructors
- CreateComponentTool(Type)
Creates a new CreateComponentTool instance.
Fields
Properties
- ComponentType
Gets the type of the component to be created.
- Cursor
Gets the Cursor for this tool.
Methods
- Activate(IDesignPanel)
Activates specified panel.
- AddItemWithCustomSize(DesignItem, DesignItem, Point, Size)
Adds the given item with the specified size.
- AddItemWithCustomSizePosition(DesignItem, Type, Size, Point)
When implemented by a class, adds the given item with the specified size and position.
- AddItemWithDefaultSize(DesignItem, DesignItem, Point)
Adds the given item with the default size.
- AddItemWithDefaultSize(DesignItem, Type, Size)
Adds the given item with the specified size and default position.
- CreateItem(DesignContext)
Is called to create the item used by the CreateComponentTool.
- Deactivate(IDesignPanel)
Deactivates specified panel.