ListView Item Coloring

  • Thread starter Thread starter Aaron
  • Start date Start date
A

Aaron

I know this has been covered before, but what I'm looking for is real
simple and most of the examples out there are listbox specific. I'm
also new to OpenNETCF so if someone could provide me with a snippet
and some advice I'd appreciate it.

I just need to, as I iterate through while populating my listview,
color specific items (rows) of my listview. All colored rows would
have the same color, so it's only a single color I need to worry
about. This isn't a situation where every other one is colored, or
something like that, rather randomly based on specific criteria. What
references do I need to do this, I assume OpenNETCF.Drawing, and how
easy is this to implement seeing as to how most of my project has been
completed with the ListView from VS 2003 .NET. Can a small sample be
supplied to get me on the right track?

Thanks.
 
You might go look at

http://www.labitweb.com/index.aspx

They have a number of excellent and eminently affordable 'add-on' controls,
and they have a listview control upgrade you might use. Also check the
controls in OpenNetCF that have already been done!

Glyn Meek
 
Just a thought. If you can deal with a simpler color scheme you might
consider just having a number of solid color icons as the 'small icon'
for each row and then set the ImageIndex for each row. This results in
a colored block and the beginning of the control. Not quite the full
desired functionality but very easy and effective solution
 
Back
Top