Freigeben über


DiagramDocView.ShowContextMenu-Methode

Zeigt das Kontextmenü an einer bestimmten Position in der Diagrammansicht an.

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 Sub ShowContextMenu ( _
    contextMenuId As CommandID, _
    pt As Point _
)
protected void ShowContextMenu(
    CommandID contextMenuId,
    Point pt
)

Parameter

  • pt
    Typ: System.Drawing.Point
    Die x-Koordinate und die y-Koordinate, die bestimmen, wo das Kontextmenü auf dem Bildschirm angezeigt wird.

.NET Framework-Sicherheit

Siehe auch

Referenz

DiagramDocView Klasse

Microsoft.VisualStudio.Modeling.Shell-Namespace