ContextMenuItem Class
Applies to v2.
Represents an item in a context menu.
Inheritance Hierarchy
System.Object
Microsoft.WebMatrix.Extensibility.ContextMenuItem
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Public Class ContextMenuItem _
Implements IContextMenuItem
'Usage
Dim instance As ContextMenuItem
public class ContextMenuItem : IContextMenuItem
public ref class ContextMenuItem : IContextMenuItem
type ContextMenuItem =
class
interface IContextMenuItem
end
public class ContextMenuItem implements IContextMenuItem
The ContextMenuItem type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ContextMenuItem | Initializes a new instance of the ContextMenuItemclass. |
Top
Properties
Name | Description | |
---|---|---|
Command | Gets the command to invoke when the button is clicked. | |
CommandParameter | Gets or sets the parameter to pass to the command. | |
Icon | Gets a 16x16 image for the item. | |
Label | Gets a label for the item. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.