Partager via


IContextMenuHost Interface

Context menu host contract

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Interface IContextMenuHost
public interface IContextMenuHost
public interface class IContextMenuHost
type IContextMenuHost =  interface end
public interface IContextMenuHost

The IContextMenuHost type exposes the following members.

Properties

  Name Description
Public property ContextMenuXPosition The context menu X position
Public property ContextMenuYPosition The context menu Y position
Public property IsContextMenuShowing Context menu is showing or not

Top

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace