Tab

ASPxGridViewContextMenuSettings.EnableColumnMenu Property

Gets or sets whether the column context menu is enabled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

Declaration

[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean EnableColumnMenu { get; set; }

Property Value

Type Default Description
DefaultBoolean

Default

true, to enable the column context menu; otherwise, false.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object's parent object setting (e.g., a control setting).

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EnableColumnMenu
ASP.NET Controls and MVC Extensions ASPxGridView
.SettingsContextMenu.EnableColumnMenu
GridViewProperties
.SettingsContextMenu.EnableColumnMenu
ASP.NET Bootstrap Controls BootstrapGridView
.SettingsContextMenu.EnableColumnMenu
ASP.NET MVC Extensions GridViewSettings
.SettingsContextMenu.EnableColumnMenu
GridViewSettings<RowType>
.SettingsContextMenu.EnableColumnMenu
MVCxGridView
.SettingsContextMenu.EnableColumnMenu
MVCxGridViewProperties
.SettingsContextMenu.EnableColumnMenu
MVCxGridViewProperties
.SettingsContextMenu.EnableColumnMenu

Remarks

The ASPxGridView provides different context menu types for the following elements: row, column, footer, group footer, and group panel. Use the EnableColumnMenu property to control the visibility of a column context menu. If the property is set to Default, its value is equal to the ASPxGridViewContextMenuSettings.Enabled property value.

You can control the visibility of default context menu items using the settings provided by the ASPxGridViewContextMenuSettings.ColumnMenuItemVisibility property.

See Also