Skip to main content
Tab

ASPxGridViewContextMenuSettings.EnableColumnMenu Property

Gets or sets whether the column context menu is enabled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v24.1.dll

NuGet Package: DevExpress.Web

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 Return Value
True

The value is true.

0

False

The value is false.

1

Default

The value is specified by a global option or a higher-level object.

2

Property Paths

You can access this nested property as listed below:

Library Object Type Path to EnableColumnMenu
ASP.NET Web Forms Controls ASPxGridView
.SettingsContextMenu .EnableColumnMenu
GridViewProperties
.SettingsContextMenu .EnableColumnMenu
ASP.NET MVC Extensions GridViewSettings
.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