IMenuHandler 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.
Provides context menu handling for the object explorer.
public interface class IMenuHandler
[System.CLSCompliant(false)]
public interface IMenuHandler
[<System.CLSCompliant(false)>]
type IMenuHandler = interface
Public Interface IMenuHandler
- Derived
- Attributes
Properties
ContextMenuID |
Gets the command ID of the context menu. |
Parent |
Gets or sets the parent node in the hierarchy. |
Methods
DoDefaultAction() |
Invokes the default menu item. |
FillMenuCommands(IMenuCommandService) |
Populates the MenuCommandService with the menu items. |
InvokeProperties() |
Invokes the properties menu item. |
UpdateMenuCommandsStatus(MenuCommand) |
Updates the status of the command. |
Events
OnRefresh |
Occurs when the event handler is refreshed. |