DocumentDesigner.OnContextMenu(Int32, Int32) Method

Definition

Called when the context menu should be displayed.

protected:
 override void OnContextMenu(int x, int y);
protected override void OnContextMenu (int x, int y);
override this.OnContextMenu : int * int -> unit
Protected Overrides Sub OnContextMenu (x As Integer, y As Integer)

Parameters

x
Int32

The horizontal screen coordinate to display the context menu at.

y
Int32

The vertical screen coordinate to display the context menu at.

Remarks

This method displays the context menu of the document designer.

Applies to