ContextMenuOpeningEventArgs Class
Applies to v2.
Represents the event arguments for a context-menu opening event.
Inheritance Hierarchy
System.Object
System.EventArgs
Microsoft.WebMatrix.Extensibility.ContextMenuOpeningEventArgs
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Public Class ContextMenuOpeningEventArgs _
Inherits EventArgs
'Usage
Dim instance As ContextMenuOpeningEventArgs
public class ContextMenuOpeningEventArgs : EventArgs
public ref class ContextMenuOpeningEventArgs : public EventArgs
type ContextMenuOpeningEventArgs =
class
inherit EventArgs
end
public class ContextMenuOpeningEventArgs extends EventArgs
The ContextMenuOpeningEventArgs type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ContextMenuOpeningEventArgs | Initializes a new instance of the ContextMenuOpeningEventArgs class. |
Top
Properties
Name | Description | |
---|---|---|
AddedMenuItems | Gets a sequence of IContextMenuItem instances that were added to the context menu. | |
Items | Gets the site item for which the context menu is opening. |
Top
Methods
Name | Description | |
---|---|---|
AddMenuItem | Adds an IContextMenuItem instance to the context menu. | |
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.