IMenuHandler Interface

Definition

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.

Applies to