c# - forecolor of a listview subitem doesn't stay -
i set forecolor of subitem in listview, when move mouse on item, color changes back.
i don't want check/set color new in mousmove event. idea set color 'forever'?
foreach (var key in list) { listviewitem item = new listviewitem(key); item.useitemstyleforsubitems = false; if (!directory.exists(key)) item.subitems[0].forecolor = color.red; lvdirs.items.add(item); item.subitems.add(""); item.subitems.add("..."); }
Comments
Post a Comment