Skip to main content
Tab

ASPxVerticalGrid.HtmlCommandCellPrepared Event

Enables the settings of individual command row cells to be changed.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v23.2.dll

NuGet Package: DevExpress.Web

Declaration

public event ASPxVerticalGridCommandCellEventHandler HtmlCommandCellPrepared

Event Data

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

Property Description
Cell Gets the processed command cell.
CommandRow Gets a command row whose cell is currently being processed.
KeyValue Gets the processed record’s key. Inherited from ASPxVerticalGridRecordEventArgs.
VisibleIndex Gets the processed record’s visible index. Inherited from ASPxVerticalGridRecordEventArgs.

Remarks

The HtmlCommandCellPrepared event is raised for each cell in a command row when the corresponding table cell is created. You can handle this event to change the style settings of individual command cells.

The processed cell is identified by the event parameter’s ASPxVerticalGridCommandCellEventArgs.Cell property. The column and row where the processed cell resides can be obtained via the ASPxVerticalGridCommandCellEventArgs.CommandRow and ASPxVerticalGridRecordEventArgs.KeyValue properties.

See Also