Skip to main content
A newer version of this page is available. .
Tab

ASPxGridViewCommandButtonSettings.RenderMode Property

Specifies the render mode of command buttons in ASPxGridView.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[DefaultValue(GridCommandButtonRenderMode.Default)]
public GridCommandButtonRenderMode RenderMode { get; set; }

Property Value

Type Default Description
GridCommandButtonRenderMode **Default**

One of the GridCommandButtonRenderMode enumeration values.

Available values:

Name Description
Default

The command item render mode depends on the command column’s and grid settings. If these settings are set to Default, the command button is rendered as a link.

The command item is rendered as a link.

ButtonType_Link

Image

The command item is rendered as an image.

ButtonType_Image

Button

The command item is rendered as a button.

ButtonType_Button

Property Paths

You can access this nested property as listed below:

Library Object Type Path to RenderMode
ASP.NET Bootstrap Controls BootstrapGridView
.SettingsCommandButton.RenderMode
ASP.NET Web Forms Controls ASPxGridView
.SettingsCommandButton.RenderMode
GridViewProperties
.SettingsCommandButton.RenderMode
GridViewSettings
.SettingsCommandButton.RenderMode
GridViewSettings<RowType>
.SettingsCommandButton.RenderMode
MVCxGridView
.SettingsCommandButton.RenderMode
MVCxGridViewProperties
.SettingsCommandButton.RenderMode

Remarks

Use the RenderMode property to specify which mode is used to render command buttons.

The render mode of buttons in a particular command column can be specified by the GridViewCommandColumn.ButtonRenderMode property.

You can specify the render mode of a particular button type, e.g., Edit button (ASPxGridViewCommandButtonSettings.EditButton), Delete button (ASPxGridViewCommandButtonSettings.DeleteButton), by using the GridCommandButtonSettings.RenderMode property (e.g., by ASPxGridView.SettingsCommandButton.EditButton.RenderMode).

See Also