Skip to main content

MVCxGridViewProperties.HtmlCommandCellPrepared Property

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

Namespace: DevExpress.Web.Mvc

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

NuGet Package: DevExpress.Web.Mvc5

Declaration

public ASPxGridViewTableCommandCellEventHandler HtmlCommandCellPrepared { get; set; }

Property Value

Type Description
ASPxGridViewTableCommandCellEventHandler

A ASPxGridViewTableCommandCellEventHandler delegate method allowing you to implement custom processing.

Remarks

The HtmlCommandCellPrepared property allows you to change the style settings of individual command cells.

The processed cell is identified by the ASPxGridViewTableCommandCellEventArgs.Cell property. The column and row where the processed cell resides can be obtained by the ASPxGridViewTableCommandCellEventArgs.CommandColumn and ASPxGridViewItemEventArgs.KeyValue properties.

See Also