LayoutMenuEventArgs(DXPopupMenu, BaseLayoutItemHitInfo) Constructor

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.2.dll


public LayoutMenuEventArgs(
    DXPopupMenu menu,
    BaseLayoutItemHitInfo hitInfo
Public Sub New(
    menu As DXPopupMenu,
    hitInfo As BaseLayoutItemHitInfo


Name Type Description
menu DXPopupMenu

A DXPopupMenu object representing the menu to be displayed. This object is assigned to the Menu property.

hitInfo BaseLayoutItemHitInfo

A BaseLayoutItemHitInfo object that identifies the clicked object. This object is assigned to the HitInfo property.

See Also