Skip to main content

PopupMenuShowingEventArgs.Allow Property

Gets or sets whether to enable the Grid’s popup menu.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v22.2.dll

NuGet Package: DevExpress.Win.Grid


public bool Allow { get; set; }

Property Value

Type Description

true if a popup menu is enabled; otherwise, false.


Use the Allow property to disable popup menus. By default, this property is set to true.

You can also disable default popup menus for column headers, footers and group panel via the GridOptionsMenu.EnableColumnMenu, GridOptionsMenu.EnableFooterMenu and GridOptionsMenu.EnableGroupPanelMenu properties, that can be accessed via the GridView.OptionsMenu object.

See Also