PopupMenuShowingEventArgs(DXPopupMenu, BaseLayoutItemHitInfo, Boolean) Constructor

Initializes a new instance of the PopupMenuShowingEventArgs class with the specified settings.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll


public PopupMenuShowingEventArgs(
    DXPopupMenu menu,
    BaseLayoutItemHitInfo hitInfo,
    bool allow
Public Sub New(
    menu As DXPopupMenu,
    hitInfo As BaseLayoutItemHitInfo,
    allow As Boolean


Name Type Description
menu DXPopupMenu

The menu to be displayed. This object is used to initialize the PopupMenuShowingEventArgs.Menu property.

hitInfo BaseLayoutItemHitInfo

The object that provides information on the clicked point. This object is used to initialize the PopupMenuShowingEventArgs.HitInfo property.

allow Boolean

A Boolean value that specifies whether a menu can be displayed. This value is used to initialize the PopupMenuShowingEventArgs.Allow property.

See Also