Property ShortcutMenu
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ShortcutMenu
Gets or sets what a right-click on the canvas shows, as AutoCAD's SHORTCUTMENU, kept on this machine as AutoCAD keeps it in the registry, 0 to 31 as AutoCAD 2021 takes it: 1 the Default menu with nothing selected, 2 the Edit menu with objects selected, 4 the Command menu whenever a command runs, 8 the Command menu only where the prompt offers options, 16 a menu only for a right-click held a quarter of a second or longer, a shorter one Enter. A right-click no bit gives a menu is Enter. 11 by default, as AutoCAD 2021 starts: Default, Edit, and Command where it has options.
public int ShortcutMenu { get; set; }
Property Value
Exceptions
- ArgumentOutOfRangeException
Thrown when the value is out of range.