ControlDesigner.OnContextMenu Method (Int32, Int32)

 

Shows the context menu and provides an opportunity to perform additional processing when the context menu is about to be displayed.

Namespace:   System.Windows.Forms.Design
Assembly:  System.Design (in System.Design.dll)

protected virtual void OnContextMenu(
	int x,
	int y
)

Parameters

x
Type: System.Int32

The x coordinate at which to display the context menu.

y
Type: System.Int32

The y coordinate at which to display the context menu.

.NET Framework
Available since 1.1
Return to top
Show: