Tab

CardViewCommandLayoutItem.ButtonRenderMode Property

Specifies the render mode of the command buttons for the current command layout item.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v21.1.dll

Declaration

[DefaultValue(GridCommandButtonRenderMode.Default)]
public GridCommandButtonRenderMode ButtonRenderMode { 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

Danger

The button indicates a dangerous or potentially negative action.

CommandButton - Danger

Outline

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

CommandButton - Outline

Secondary

A button of secondary importance.

CommandButton - Secondary

Remarks

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

The render mode of a particular button type can be specified by the GridCommandButtonSettings.RenderMode property.

See Also