Skip to main content

BootstrapGridView.CommandButtonInitialize Event

Enables individual command buttons to be initialized.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public event BootstrapGridViewCommandButtonEventHandler CommandButtonInitialize

Event Data

The CommandButtonInitialize event's data class is BootstrapGridViewCommandButtonEventArgs. The following properties provide information specific to this event:

Property Description
ButtonType Gets the type of the command button currently being initialized. Inherited from ASPxGridViewCommandButtonEventArgs.
Column Gets a command column which owns the processed command button.
CssClass Provides access to CSS classes applied to the processed command button element.
Enabled Gets or sets whether the processed command button is enabled. Inherited from ASPxGridCommandButtonEventArgs.
IconCssClass Gets or sets the CSS class of the icon displayed within the command button.
Image Gets the settings of an image displayed within the processed command button. Inherited from ASPxGridCommandButtonEventArgs.
IsEditingRow Gets whether a command button is displayed within the data row currently being edited. Inherited from ASPxGridViewCommandButtonEventArgs.
RenderMode Specifies the processed command button’s render mode. Inherited from ASPxGridCommandButtonEventArgs.
Styles Gets the processed command button’s style. Inherited from ASPxGridCommandButtonEventArgs.
Text Gets the processed command button’s text. Inherited from ASPxGridCommandButtonEventArgs.
Visible Gets or sets whether the command button is visible. Inherited from ASPxGridCommandButtonEventArgs.
VisibleIndex Gets the visible index of a data item (row, card or record) which contains the processed command button. Inherited from ASPxGridCommandButtonEventArgs.
See Also