.net - C# ListView diffrent text for each row -


i want change text color in listview based on item attributes didn't find way solve problem.

i found solution. use listviewitem , set color. in following code.

var item1 = new listviewitem(new[] { t.text, t.date.tostring() }); item1.forecolor = t.color; listtodos.items.add(item1); 

Comments