Export (0) Print
Expand All

ContextMenuItem Class

Applies to v2.

Represents an item in a context menu.

System.Object
  Microsoft.WebMatrix.Extensibility.ContextMenuItem

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

public class ContextMenuItem : IContextMenuItem

The ContextMenuItem type exposes the following members.

  NameDescription
Public methodContextMenuItemInitializes a new instance of the ContextMenuItemclass.
Top

  NameDescription
Public propertyCommandGets the command to invoke when the button is clicked.
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.
Top

  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft