Skip to main content
Tab

ASPxGridViewContextMenuSettings.EnableRowMenu Property

Gets or sets whether the row context menu is enabled.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.2.dll

Declaration

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

Property Value

Type Default Description
DefaultBoolean

Default

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

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

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

Remarks

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