Back to Devexpress

VerticalGridCommandRow.ButtonRenderMode Property

aspnet-devexpress-dot-web-dot-verticalgridcommandrow-8cba0488.md

latest3.1 KB
Original Source

VerticalGridCommandRow.ButtonRenderMode Property

Specifies the render mode of the command buttons for the current command row.

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue(GridCommandButtonRenderMode.Default)]
public GridCommandButtonRenderMode ButtonRenderMode { get; set; }
vb
<DefaultValue(GridCommandButtonRenderMode.Default)>
Public Property ButtonRenderMode As GridCommandButtonRenderMode

Property Value

TypeDefaultDescription
GridCommandButtonRenderModeDefault

One of the GridCommandButtonRenderMode enumeration values.

|

Available values:

NameDescription
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.

|

Remarks

Use the ButtonRenderMode property to specify which mode will be used to render command buttons in the current command row. If the property is set to Default , the row button type depends upon the ASPxVerticalGridCommandButtonSettings.RenderMode property value.

The render mode of a particular command button type can be specified by the ASPxVerticalGrid.SettingsCommandButton._command_button_name_.Render property (GridCommandButtonSettings.RenderMode).

See Also

Vertical Grid

VerticalGridCommandRow Class

VerticalGridCommandRow Members

DevExpress.Web Namespace