Table of Contents

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

tool CadTool

The tool.

index int

The place it has afterwards, as Insert(int, CadTool) counts it.

Returns

bool

Whether the palette had the tool.