Udostępnij za pośrednictwem


Właściwość DiagramDocView.ContextMenuId —

Pobiera menu skrótów, które mają być wyświetlane, gdy użytkownik kliknie prawym przyciskiem myszy widok diagramu.

Przestrzeń nazw:  Microsoft.VisualStudio.Modeling.Shell
Zestaw:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (w Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Składnia

'Deklaracja
Protected MustOverride ReadOnly Property ContextMenuId As CommandID
protected abstract CommandID ContextMenuId { get; }

Wartość właściwości

Typ: System.ComponentModel.Design.CommandID
Identyfikator polecenia jest przypisany do menu skrótów.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DiagramDocView Klasa

Przestrzeń nazw Microsoft.VisualStudio.Modeling.Shell