I Am Working On A windows c# form. I have Checked List Boxes in my form. And for those checked List Boxes I want To set Predefined Colors. How can I 开发者_JAVA百科do It..Is There Any inbuild classes or something to get these predefined colors...please Help
Rather than repeat the answer, see if How change the color of SelectedItem in CheckedListBox in WindowsForms? helps you solve your problem. There is code there that may get you where you need to go although that refers to forecolor and you may need to change the backcolor in your case.
精彩评论