Click or drag to resize
RadGridViewRowFormatting Event
Fires when a data row is invalidated and needs to be formatted.

Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.GridView (in Telerik.WinControls.GridView.dll) Version: 2017.3.1017.40 (2017.3.1017.40)
Syntax
[BrowsableAttribute(true)]
public event RowFormattingEventHandler RowFormatting

Value

Type: Telerik.WinControls.UIRowFormattingEventHandler
Examples
C#
void radGridView1_RowFormatting(object sender, RowFormattingEventArgs e) 
{ 
    if (e.RowElement.RowInfo.Cells.Count > 0 && (string)e.RowElement.RowInfo.Cells[0].Value == "3") 
        e.RowElement.Font = strikeoutFont; 
    else 
        e.RowElement.Font = SystemFonts.DialogFont; 
}
See Also