ASPxVerticalGridCommandButtonSettings.RenderMode Property
Specifies the render mode of command buttons in ASPxVerticalGrid.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
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. |
Link | The command item is rendered as a link. |
Image | The command item is rendered as an image. |
Button | The command item is rendered as a 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 Web Forms Controls | ASPxVerticalGrid |
|
ASP.NET MVC Extensions | VerticalGridSettings |
|
Remarks
Use the RenderMode property to specify which mode is used to render command buttons.
The render mode of buttons in a particular command row can be specified by the VerticalGridCommandRow.ButtonRenderMode property.
The render mode of a particular command button type can be specified by the ASPxVerticalGrid.SettingsCommandButton._command_button_name_.Render property (GridCommandButtonSettings.RenderMode).