NetXP 3.0 Reference

CommandContextMenu.Show Method (Control, Point)

Shows the popup menu at the specified location, using the specified source control.

[Visual Basic]
Overloads Public Function Show( _
   ByVal sourceControl As Control, _
   ByVal pt As Point _
) As CommandBarItem
[C#]
public CommandBarItem Show(
   Control sourceControl,
   Point pt
);

Parameters

sourceControl
The control responsible for handling menu messages.
pt
The location (in sourceControl client coordinates) of the top-left corner of the menu.

Return Value

The command bar item (if any) that the user clicked.

See Also

CommandContextMenu Class | NETXP.Controls.Bars Namespace | CommandContextMenu.Show Overload List