Skip to main content

PopupMenuShowingEventArgs(DXPopupMenu, BaseLayoutItemHitInfo, Boolean) Constructor

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public PopupMenuShowingEventArgs(
    DXPopupMenu menu,
    BaseLayoutItemHitInfo hitInfo,
    bool allow
)

Parameters

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