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

GridViewCommandColumn.ButtonType Property

OBSOLETE

Use the ButtonRenderMode property instead.

Specifies the type of the command buttons for the current command column.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v18.2.dll

Declaration

[Obsolete("Use the ButtonRenderMode property instead.")]
[DefaultValue(GridCommandButtonRenderMode.Default)]
public GridCommandButtonRenderMode ButtonType { 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

Remarks

Use the ButtonType property to specify which button types will be used to render command buttons in the current command column. If the property is set to Default, the column button type depends upon the GridViewCommandButtonSettings.ButtonType property value.

See Also