DiagramDocView.ContextMenuId Property
Gets the shortcut menu to display when a user right-clicks 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
Protected MustOverride ReadOnly Property ContextMenuId As CommandID
protected abstract CommandID ContextMenuId { get; }
protected:
virtual property CommandID^ ContextMenuId {
CommandID^ get () abstract;
}
abstract ContextMenuId : CommandID with get
abstract function get ContextMenuId () : CommandID
Property Value
Type: System.ComponentModel.Design.CommandID
The command ID that is assigned to the shortcut menu.
.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.