Description
This abstract class defines a general custom tool that can be used to implement any type of tool supported by tool palettes. It aggregates the various tool interfaces and provides extensive boilerplate implementations that simplify the creation of custom tools.
Class Hierarchy
Autodesk.AutoCAD.Windows.ToolPalette.IAcadStockTool Autodesk.AutoCAD.Windows.ToolPalette.IAcadTool Autodesk.AutoCAD.Windows.ToolPalette.IAcadToolContextMenu Autodesk.AutoCAD.Windows.ToolPalette.IAcadToolFlyoutShape Autodesk.AutoCAD.Windows.ToolPalette.IAcPiPropertyDisplay Autodesk.AutoCAD.Windows.ToolPalette.IAcPiPropertyUnspecified Autodesk.AutoCAD.Windows.ToolPalette.IDropTarget Autodesk.AutoCAD.Windows.ToolPalette.IOPMPropertyDialog Autodesk.AutoCAD.Windows.ToolPalette.IOPMPropertyExtension Autodesk.AutoCAD.Windows.ToolPalette.IPerPropertyBrowsing Autodesk.AutoCAD.Windows.ToolPalette.CustomToolBase
C#
public abstract class CustomToolBase : IDisposable, IAcadTool, IAcadStockTool, IDropTarget, IAcPiPropertyUnspecified, IAcPiPropertyDisplay, IOPMPropertyExtension, IAcadToolContextMenu, IPerPropertyBrowsing, IOPMPropertyDialog, IAcadToolFlyoutShape;
Visual Basic
Public abstract Class CustomToolBase Inherits IDisposable Inherits IAcadTool Inherits IAcadStockTool Inherits IDropTarget Inherits IAcPiPropertyUnspecified Inherits IAcPiPropertyDisplay Inherits IOPMPropertyExtension Inherits IAcadToolContextMenu Inherits IPerPropertyBrowsing Inherits IOPMPropertyDialog Inherits IAcadToolFlyoutShape
Notes
Since this is a .NET abstract class, it cannot be instantiated directly. You must derive from this class and instantiate an object of your derived class.