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

GridViewAdaptiveCommandButtonSettings.RenderMode Property

Specifies the button type that is used to render the current command button.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v20.2.dll

NuGet Package: DevExpress.Web

Declaration

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

Property Value

Type Default Description
GridCommandButtonRenderMode **Image**

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

Danger

The button indicates a dangerous or potentially negative action.

Outline

A button with a colored border and without a background color.

Secondary

A button of secondary importance.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to RenderMode
ASP.NET Controls and MVC Extensions ASPxGridView
.SettingsCommandButton .RenderMode
ASPxGridView
ASPxGridViewCommandButtonSettings
GridViewProperties
.SettingsCommandButton .RenderMode
GridViewProperties
ASP.NET Bootstrap Controls BootstrapGridView
.SettingsCommandButton .RenderMode
BootstrapGridView
BootstrapGridView
BootstrapGridViewCommandButtonsSettings
BootstrapGridViewCommandButtonsSettings
ASP.NET MVC Extensions GridViewSettings
.SettingsCommandButton .RenderMode
GridViewSettings
GridViewSettings<RowType>
.SettingsCommandButton .RenderMode
GridViewSettings<RowType>
MVCxGridView
.SettingsCommandButton .RenderMode
MVCxGridView
MVCxGridViewProperties
.SettingsCommandButton .RenderMode
MVCxGridViewProperties

Remarks

Use the RenderMode property to specify which button type is used to render the command button. The type of button in a particular command column can be specified by the GridViewCommandColumn.ButtonType property. The common render mode for all command buttons in the control can be specified by the ASPxGridViewCommandButtonSettings.RenderMode property.

See Also