Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
I have a ListControl
Col1 Col2

Item1 Item2
Item3 Item4
Item5 Item6

I want each row to have a separate color. 1st row color1, 2nd row color2 and so on. Or else I want Item1 color1 Item2 color2 and so on.

Thank you.
Posted
Updated 11-Jun-10 5:35am
v2

1 solution

See this article here on CP for some ideas;
ListView Alternating Row Colours (Using Windows API)[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900