System.Windows.Forms.Design.DocumentDesigner.OnContextMenu Method

Called when the context menu should be displayed.

Syntax

protected override void OnContextMenu (int x, int y)

Parameters

x
The horizontal screen coordinate to display the context menu at.
y
The vertical screen coordinate to display the context menu at.

Remarks

This method displays the context menu of the document designer.

Requirements

Namespace: System.Windows.Forms.Design
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0