Back to Devexpress

ASPxVerticalGrid.HtmlCommandCellPrepared Event

aspnet-devexpress-dot-web-dot-aspxverticalgrid-506d4c9e.md

latest2.8 KB
Original Source

ASPxVerticalGrid.HtmlCommandCellPrepared Event

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

Namespace : DevExpress.Web

Assembly : DevExpress.Web.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public event ASPxVerticalGridCommandCellEventHandler HtmlCommandCellPrepared
vb
Public Event HtmlCommandCellPrepared As ASPxVerticalGridCommandCellEventHandler

Event Data

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

PropertyDescription
CellGets the processed command cell.
CommandRowGets a command row whose cell is currently being processed.
KeyValueGets the processed record’s key. Inherited from ASPxVerticalGridRecordEventArgs.
VisibleIndexGets 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

Vertical Grid

ASPxVerticalGrid Class

ASPxVerticalGrid Members

DevExpress.Web Namespace