Skip to main content

BootstrapGridView.CustomButtonInitialize Event

Enables you to initialize custom command buttons.

Namespace: DevExpress.Web.Bootstrap

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

NuGet Package: DevExpress.Web.Bootstrap

Declaration

public event BootstrapGridViewCustomButtonEventHandler CustomButtonInitialize

Event Data

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

Property Description
ButtonID Gets the processed custom button’s identifier. Inherited from ASPxGridCustomCommandButtonEventArgs.
CellType Gets a value that specifies in which row a custom button is displayed. Inherited from ASPxGridViewCustomButtonEventArgs.
Column Gets a command column which owns the processed custom button.
CssClass Gets or sets the name of a CSS class applied to the processed custom button element.
Enabled Gets or sets a value that specifies whether the processed custom button is enabled. Inherited from ASPxGridCustomCommandButtonEventArgs.
IconCssClass Gets or sets the CSS class of the image displayed by the processed custom button.
Image Gets the settings of an image displayed within the processed custom button. Inherited from ASPxGridCustomCommandButtonEventArgs.
IsEditingRow Gets whether a custom button is displayed within the data row currently being edited. Inherited from ASPxGridViewCustomButtonEventArgs.
RenderMode Specifies the processed custom command button’s render mode. Inherited from ASPxGridCustomCommandButtonEventArgs.
Styles Gets the processed custom button’s style. Inherited from ASPxGridCustomCommandButtonEventArgs.
Text Gets or sets the processed custom button’s text. Inherited from ASPxGridCustomCommandButtonEventArgs.
Visible Gets or sets whether the processed custom button is visible. Inherited from ASPxGridCustomCommandButtonEventArgs.
VisibleIndex Gets the visible index of a data item (row, card or record) which contains the processed custom button. Inherited from ASPxGridCustomCommandButtonEventArgs.
See Also