ASPxGridViewTableRowEventArgs Class
Provides data for the ASPxGridView.HtmlRowCreated and ASPxGridView.HtmlRowPrepared events.
Namespace: DevExpress.Web
Assembly: DevExpress.Web.v24.1.dll
NuGet Package: DevExpress.Web
Declaration
Example
In this example the ASPxGridView.HtmlRowPrepared event is handled to highlight the departments whose budget is less than $100,000.
The image below shows the result:
protected void ASPxGridView1_HtmlRowPrepared(object sender, ASPxGridViewTableRowEventArgs e) {
if (e.RowType != GridViewRowType.Data) return;
int budget = Convert.ToInt32(e.GetValue("Budget"));
if (budget < 100000)
e.Row.ForeColor = System.Drawing.Color.Red;
}
Inheritance
Object
EventArgs
ASPxGridItemEventArgs
ASPxGridViewItemEventArgs
ASPxGridViewTableRowEventArgs
See Also