Skip to main content

LayoutMenuEventArgs(DXPopupMenu, BaseLayoutItemHitInfo, Boolean) Constructor

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.dll

Declaration

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

Parameters

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.

allow Boolean

A Boolean value that specifies whether the menu is allowed to be displayed. This value is assigned to the Allow property.

See Also