IContextMenuHost 接口

上下文菜单主机协定

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll 中)

语法

声明
Public Interface IContextMenuHost
public interface IContextMenuHost

IContextMenuHost 类型公开以下成员。

属性

  名称 说明
公共属性 ContextMenuXPosition 上下文菜单的 X 位置
公共属性 ContextMenuYPosition 上下文菜单的 Y 位置
公共属性 IsContextMenuShowing 显示或不显示上下文菜单

页首

请参阅

参考

Microsoft.VisualStudio.Modeling.Diagrams 命名空间