Context Menu

The Context Menu is activated by right-clicking within the grid. The GridView provides different context menu types for the following elements: row, column, footer and group panel.

ASPxGridView_ContextMenu

The table below lists the main members that affect the appearance of the common menu, as well as the appearance of specific menus.

Menu Type Styles Visibility Menu Item Visibility
Common GridViewContextMenuStyles.Common ASPxGridViewContextMenuSettings.Enabled (via GridViewSettings.SettingsContextMenu.Enabled) -
Row Menu GridViewContextMenuStyles.Row ASPxGridViewContextMenuSettings.EnableRowMenu (via GridViewSettings.SettingsContextMenu.EnableRowMenu) ASPxGridViewContextMenuSettings.RowMenuItemVisibility (via GridViewSettings.SettingsContextMenu.RowMenuItemVisibility)
Column Menu GridViewContextMenuStyles.Column ASPxGridViewContextMenuSettings.EnableColumnMenu (via GridViewSettings.SettingsContextMenu.EnableColumnMenu) ASPxGridViewContextMenuSettings.ColumnMenuItemVisibility (via GridViewSettings.SettingsContextMenu.ColumnMenuItemVisibility)
Footer Menu GridViewContextMenuStyles.Footer ASPxGridViewContextMenuSettings.EnableFooterMenu (via GridViewSettings.SettingsContextMenu.EnableFooterMenu) ASPxGridViewContextMenuSettings.FooterMenuItemVisibility (via GridViewSettings.SettingsContextMenu.FooterMenuItemVisibility)
Group Panel Menu GridViewContextMenuStyles.GroupPanel ASPxGridViewContextMenuSettings.EnableGroupPanelMenu (via GridViewSettings.SettingsContextMenu.EnableGroupPanelMenu) ASPxGridViewContextMenuSettings.GroupPanelMenuItemVisibility (via GridViewSettings.SettingsContextMenu.GroupPanelMenuItemVisibility)

The text and image of a menu item can be specified by the GridViewSettings.SettingsText and GridViewSettings.Images properties, respectively.