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

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -