Show / Hide Table of Contents

Delegate UpdateContextMenuDelegate

Delegate definition for UpdateContextMenuEvent, which is raised, when a context menu is about to be displayed.

Namespace: CADability
Assembly: CADability.dll
Syntax
public delegate void UpdateContextMenuDelegate(ICommandHandler target, string MenuId, CommandState CommandState, ref bool Processed);
Parameters
Type Name Description
ICommandHandler target

The commandhandler, to which this command is targeted

System.String MenuId

The menuid of the command (see MenuResource.xml)

CommandState CommandState

Yu can modify the Enabled and Checked properties of the CommandState

System.Boolean Processed

Set to true, when you have provided "Enabled" and "Checked" properties

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX