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)

public interface IContextMenuItem

The IContextMenuItem type exposes the following members.

Public propertyCommandGets the command to invoke when the button is selected.
Public propertyCommandParameterGets or sets the parameter to pass to the Command.
Public propertyIconGets a 16x16 image for the item.
Public propertyLabelGets a label for the item.