Partager via


DiagramClientView.OnContextMenuRequested Method

Raises the ContextMenuRequested event.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Déclaration
Protected Overridable Sub OnContextMenuRequested ( _
    e As MouseEventArgs _
)
protected virtual void OnContextMenuRequested(
    MouseEventArgs e
)
protected:
virtual void OnContextMenuRequested(
    MouseEventArgs^ e
)
abstract OnContextMenuRequested : 
        e:MouseEventArgs -> unit 
override OnContextMenuRequested : 
        e:MouseEventArgs -> unit 
protected function OnContextMenuRequested(
    e : MouseEventArgs
)

Parameters

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace