NShape Reference
CommandMenuAction

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Advanced >

NShape Reference
CommandMenuAction

Previous pageReturn to chapter overviewNext page

Represents an undoable action.

Syntax

public class CommandMenuItemDef : MenuItemDef

Description

If the action the Execute method of this MenuItemDef is called, a command is executed and added to the project's history.

Public Properties

Name

Description

Command

The command that will be executed when calling the execute method.

Description

Defines the culture depending description of the action that can be used for tool tips.

Public Methods

Name

Description

Constructor

Constructs a new instance.

Execute

Executes the command.

IsGranted

Checks whether the command's required permissions are granted.

Derived Classes

Derived classes are:

CommandMenuItemDef

DelegateMenuItemDef

GroupMenuItemDef

NotImplementedMenuItemDef

SeperatorMenuItemDef

Requirements

Namespace: Dataweb.NShape.Advanced

Assembly: Dataweb.NShape