DXPopupMenu.ShowPopup(Control, Point) Method

Displays the DXPopupMenu at specific coordinates.

Namespace: DevExpress.Utils.Menu

Assembly: DevExpress.Utils.v20.2.dll

Declaration

public void ShowPopup(
    Control control,
    Point location
)
Public Sub ShowPopup(
    control As Control,
    location As Point
)

Parameters

Name Type Description
control Control

A Control that is the parent control for this DXPopupMenu.

location Point

A Point structure that specifies the menu location.

Remarks

The ShowPopup method can be used instead of the IDXDropDownControl.Show method. In this case, instead of passing an "IDXMenuManager" object to the "Show" method as its first parameter, utilize the DXPopupMenu.MenuViewType property to select the popup menu type.

See Also