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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.