ASPxGridViewContextMenuSettings.EnableColumnMenu Property
Gets or sets whether the column context menu is enabled.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
Declaration
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean EnableColumnMenu { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DefaultBoolean | Default |
|
Available values:
Name | Description | Return Value |
---|---|---|
True | The value is true. |
|
False | The value is false. |
|
Default | The value is specified by a global option or a higher-level object. |
|
Property Paths
You can access this nested property as listed below:
Library | Object Type | Path to EnableColumnMenu |
---|---|---|
ASP.NET MVC Extensions | GridViewSettings |
|
MVCxGridViewProperties |
|
|
ASP.NET Web Forms Controls | ASPxGridView |
|
GridViewProperties |
|
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.