Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PopupMenuShowingEventArgs(DXPopupMenu, BaseLayoutItemHitInfo, Boolean) Constructor

In This Article

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.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