NetXP 3.0 Reference

CommandContextMenu.Show Method (Control, Point, Point, Point, Point)

Shows the popup menu with four preferred locations for the specified source control.

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

Parameters

sourceControl
The control responsible for handling menu messages.
topLeft
The preferred top-left location, in sourceControl client coordinates.
topRight
The preferred top-right location, in sourceControl client coordinates.
bottomLeft
The preferred bottom-left location, in sourceControl client coordinates.
bottomRight
The perferred bottom-right location, in sourceControl client coordinates.

Return Value

See Also

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