IMenuItem Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Represents the menu items that can be added to the DefaultMenuHandler class.
public interface class IMenuItem
[System.CLSCompliant(false)]
public interface IMenuItem
[<System.CLSCompliant(false)>]
type IMenuItem = interface
Public Interface IMenuItem
- Derived
- Attributes
Properties
CommandGuid |
Gets the CommandID globally unique identifier (GUID) for the menu command. |
ItemId |
Gets the CommandID of the specific item for the menu command. |
MenuHandler |
Gets the event handler for the menu item. |
MultiSelect |
Gets a value indicating whether the menu item supports the MultiSelect. |
Name |
Gets the name of the command. |
Parent |
Gets or sets the parent node in the hierarchy. |
Text |
Gets the caption that is associated with the command. |
Methods
UpdateMenuCommandStatus(MenuCommand) |
Indicates the update of the menu command status for the menu item. |