PopupMenuShowingEventArgs.Allow Property

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

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v20.1.dll

Declaration

public bool Allow { get; set; }
Public Property Allow As Boolean

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