DocumentDesigner::OnContextMenu Method (Int32, Int32)

 

Called when the context menu should be displayed.

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

protected:
virtual void OnContextMenu(
	int x,
	int y
) override

Parameters

x
Type: System::Int32

The horizontal screen coordinate to display the context menu at.

y
Type: System::Int32

The vertical screen coordinate to display the context menu at.

This method displays the context menu of the document designer.

.NET Framework
Available since 1.1
Return to top
Show: