Partager via


DiagramClientView.ContextMenuRequested Event

Occurs when the control's context menu has been requested.

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

Syntax

'Declaration
Public Event ContextMenuRequested As ContextMenuRequestedEventHandler
public event ContextMenuRequestedEventHandler ContextMenuRequested
public:
 event ContextMenuRequestedEventHandler^ ContextMenuRequested {
    void add (ContextMenuRequestedEventHandler^ value);
    void remove (ContextMenuRequestedEventHandler^ value);
}
member ContextMenuRequested : IEvent<ContextMenuRequestedEventHandler,
    MouseEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

DiagramClientView Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace