PopupMenuShowingEventArgs(DXPopupMenu, BaseLayoutItemHitInfo) Constructor

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll

Declaration

public PopupMenuShowingEventArgs(
    DXPopupMenu menu,
    BaseLayoutItemHitInfo hitInfo
)
Public Sub New(
    menu As DXPopupMenu,
    hitInfo As BaseLayoutItemHitInfo
)

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.

See Also