Skip to main content
A newer version of this page is available. .

PopupMenuShowingEventArgs.Allow Property

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

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

public bool Allow { get; set; }

Property Value

Type Description
Boolean

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

Remarks

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