aspnet-devexpress-dot-web-dot-aspxgridviewcontextmenusettings-39e4fbe9.md
Gets or sets whether the row context menu is enabled.
Namespace : DevExpress.Web
Assembly : DevExpress.Web.v25.2.dll
NuGet Package : DevExpress.Web
[DefaultValue(DefaultBoolean.Default)]
public DefaultBoolean EnableRowMenu { get; set; }
<DefaultValue(DefaultBoolean.Default)>
Public Property EnableRowMenu As DefaultBoolean
| Type | Default | Description |
|---|---|---|
| DefaultBoolean | Default |
true, to enable the row 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
|
You can access this nested property as listed below:
| Library | Object Type | Path to EnableRowMenu |
|---|---|---|
| ASP.NET MVC Extensions | GridViewSettings |
.SettingsContextMenu .EnableRowMenu
| | MVCxGridViewProperties |
.SettingsContextMenu .EnableRowMenu
| | ASP.NET Web Forms Controls | ASPxGridView |
.SettingsContextMenu .EnableRowMenu
| | GridViewProperties |
.SettingsContextMenu .EnableRowMenu
|
The ASPxGridView provides different context menu types for the following elements: row, column, footer, group footer, and group panel. Use the EnableRowMenu property to control the visibility of a row 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.RowMenuItemVisibility property.
See Also
Online Demo: Grid - Context Menu
ASPxGridViewContextMenuSettings Class