Partager via


DiagramDocView.IsContextMenuShowing Property

Gets the shortcut menu and verifies whether it appears for the diagram view.

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

Syntax

'Declaration
Public ReadOnly Property IsContextMenuShowing As Boolean
public bool IsContextMenuShowing { get; }
public:
virtual property bool IsContextMenuShowing {
    bool get () sealed;
}
abstract IsContextMenuShowing : bool with get 
override IsContextMenuShowing : bool with get
final function get IsContextMenuShowing () : boolean

Property Value

Type: System.Boolean
true if the shortcut menu appears for the diagram view; otherwise, false.

Implements

IContextMenuHost.IsContextMenuShowing

.NET Framework Security

See Also

Reference

DiagramDocView Class

Microsoft.VisualStudio.Modeling.Shell Namespace