Method Move
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Move(CadTool, int)
Moves a tool to another place of the list, as dragging it within the palette does.
public bool Move(CadTool tool, int index)
Parameters
toolCadToolThe tool.
indexintThe place it has afterwards, as Insert(int, CadTool) counts it.
Returns
- bool
Whether the palette had the tool.