GridViewCommandButtonSettings.ButtonType Property
OBSOLETE
Use the Render
Specifies the button type that is used to render the current command button.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.2.dll
NuGet Package: DevExpress.Web
#Declaration
[DefaultValue(GridCommandButtonRenderMode.Default)]
[Obsolete("Use the RenderMode property instead.")]
public GridCommandButtonRenderMode ButtonType { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Grid |
Default | One of the Grid |
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:
Object Type | Path to Button |
---|---|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
ASPx |
|
#Remarks
Use the ButtonType 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.ButtonRenderMode property.
The Default value corresponds to the Link value.