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

ASPxVerticalGridCommandButtonEventArgs.ButtonType Property

Gets the type of the command button currently being initialized.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

public VerticalGridCommandButtonType ButtonType { get; }

Property Value

Type Description
VerticalGridCommandButtonType

One of the VerticalGridCommandButtonType enumeration values.

Available values:

Name Description
Edit

Corresponds to the Edit command. Switches the ASPxVerticalGrid to edit mode.

New

Corresponds to the New command. Creates a new record.

Delete

Corresponds to the Delete command. Deletes the current record.

Select

Corresponds to the Select command. Selects/deselects records.

Update

Corresponds to the Update command. Saves all the changes made to the current record and switches the ASPxVerticalGrid to browse mode.

Cancel

Corresponds to the Cancel command. Discards any changes made to the current record and switches the ASPxVerticalGrid to browse mode.

SelectCheckbox

Corresponds to the Select command initiated by a select check box or radio button. Selects/deselects records.

ApplySearchPanelFilter

Corresponds to the Apply command. Applies the filter specified in the search panel.

ClearSearchPanelFilter

Corresponds to the Clear command. Clears the filter specified in the search panel.

Recover

Corresponds to the Recover command. Recovers the deleted records.

See Also