IMenuItem IMenuItem IMenuItem Interface

Definition

Important

This API is not CLS-compliant.

CLS-compliant alternative
false

Represents the menu items that can be added to the DefaultMenuHandler class.

public interface class IMenuItem
[System.CLSCompliant(false)]
public interface IMenuItem
Public Interface IMenuItem
Derived
Attributes

Properties

CommandGuid CommandGuid CommandGuid

Gets the CommandID globally unique identifier (GUID) for the menu command.

ItemId ItemId ItemId

Gets the CommandID of the specific item for the menu command.

MenuHandler MenuHandler MenuHandler

Gets the event handler for the menu item.

MultiSelect MultiSelect MultiSelect

Gets a value indicating whether the menu item supports the MultiSelect.

Name Name Name

Gets the name of the command.

Parent Parent Parent

Gets or sets the parent node in the hierarchy.

Text Text Text

Gets the caption that is associated with the command.

Methods

UpdateMenuCommandStatus(MenuCommand) UpdateMenuCommandStatus(MenuCommand) UpdateMenuCommandStatus(MenuCommand)

Indicates the update of the menu command status for the menu item.

Applies to