System.Windows.Forms.ContextMenu.Show Method

Displays the shortcut menu at the specified position and with the specified alignment.

Syntax

public void Show (Control control, System.Drawing.Point pos, LeftRightAlignment alignment)

Parameters

control
A System.Windows.Forms.Control that specifies the control with which this shortcut menu is associated.
pos
A System.Drawing.Point that specifies the coordinates at which to display the menu. These coordinates are specified relative to the client coordinates of the control specified in the control parameter.
alignment
A System.Windows.Forms.LeftRightAlignment that specifies the alignment of the control relative to the pos parameter.

Remarks

Documentation for this section has not yet been entered.

Requirements

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