IContextMenuItem Interface

Applies to v2.

Represents an interface for the item in a context menu.

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

Syntax

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

The IContextMenuItem type exposes the following members.

Properties

  Name Description
Public property Command Gets the command to invoke when the button is selected.
Public property CommandParameter Gets or sets the parameter to pass to the Command.
Public property Icon Gets a 16x16 image for the item.
Public property Label Gets a label for the item.

Top

See Also

Reference

Microsoft.WebMatrix.Extensibility Namespace