Partilhar via


IEditorContextMenuProvider Interface

Applies to v2.

Provides properties and methods used to define context menu items for an editor.

Namespace:  Microsoft.WebMatrix.Extensibility.Editor
Assembly:  Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)

Syntax

'Declaration
Public Interface IEditorContextMenuProvider
'Usage
Dim instance As IEditorContextMenuProvider
public interface IEditorContextMenuProvider
public interface class IEditorContextMenuProvider
type IEditorContextMenuProvider =  interface end
public interface IEditorContextMenuProvider

The IEditorContextMenuProvider type exposes the following members.

Properties

  Name Description
Public property CommonExtension Gets the common extension of the context menu.
Public property PriorityOrder Gets the priority order of the context menu.

Top

Methods

  Name Description
Public method GetMenuItems Gets the context menu items for the specified editor and position.

Top

See Also

Reference

Microsoft.WebMatrix.Extensibility.Editor Namespace