Notifications
Clear all
[Closed] Changing subItems color in Listview?
Jun 17, 2012 2:16 am
Is it possible to change a subitems color in a listview?
I can change the first item color when using :
theItem.UseItemStyleForSubItems = false
But i cant seem to change a subitem…
If not a listview , can this be done with a DataGridView?
Cheers
1 Reply
Jun 17, 2012 2:16 am
Scratch that
lv.Items.Item[1].useItemStyleForSubItems = false
(lv.Items.item[1].SubItems.item[1]).ForeColor = (dotNetClass”System.Drawing.Color”).fromARGB 255 0 0
I wasn’t specifying the which rows in my script