Table of Contents

Delegate CadCanvasMenuProvider

Namespace
OpenCAD2D.Plugins
Assembly
OpenCAD2D.Core.dll

What a plugin adds to the right-click menu of the canvas, as AutoCAD's object context menu extension does: items after those of the extensions and before the presenter's own, asked with objects selected and no command running; the objects are Selected.

public delegate IReadOnlyList<CadPluginMenuItem> CadCanvasMenuProvider(CadPluginContext context)

Parameters

context CadPluginContext

The window now.

Returns

IReadOnlyList<CadPluginMenuItem>

The items; null or empty for none.