ContextMenuOpeningEventArgs 类
适用于版本2
表示上下文菜单打开事件的事件参数。
继承层次结构
System.Object
System.EventArgs
Microsoft.WebMatrix.Extensibility.ContextMenuOpeningEventArgs
命名空间: Microsoft.WebMatrix.Extensibility
程序集: Microsoft.WebMatrix.Extensibility(在 Microsoft.WebMatrix.Extensibility.dll 中)
语法
声明
Public Class ContextMenuOpeningEventArgs _
Inherits EventArgs
用法
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
ContextMenuOpeningEventArgs 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ContextMenuOpeningEventArgs | 初始化 ContextMenuOpeningEventArgs 类的新实例。 |
页首
属性
名称 | 说明 | |
---|---|---|
AddedMenuItems | 获取已添加到上下文菜单中的一系列 IContextMenuItem 实例。 | |
Items | 获取正在打开其上下文菜单的网站项。 |
页首
方法
名称 | 说明 | |
---|---|---|
AddMenuItem | 将一个 IContextMenuItem 实例添加到上下文菜单中。 | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetHashCode | (从 Object 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。