Formatting a row Version 2.9
ObjectListView - ListView on caffeine, guarana and steroids
Brought to you by:
grammarian
How does one in version 2.9 format a row I see you say attach the following but I do not no how in that version.
private void olv1_FormatRow(object sender, FormatRowEventArgs e)
{
SalesOrders salesOrder = (SalesOrders)e.Model;
if (salesOrder.Exported ==true)
e.Item.BackColor = Color.Wheat;
}
In this case, you would: