DiagramClientView.OnContextMenuRequested Method
Raises the ContextMenuRequested event.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
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
e
Type: System.Windows.Forms.MouseEventArgsA MouseEventArgs that contains the event data.
.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.