Change color to ListView lines

  • Thread starter Thread starter Alberto
  • Start date Start date
A

Alberto

I'd like to alternate the color of the listview lines but I don't know how
to do it in an eficient way.
I know I can change the backcolor of every single line but I'd like to do it
in base class and then inherit from it.

If the listview control would send a event when an item is added, it would
be very easy but I think there isn't any event like this.

Thank you for your help
 
I'd like to alternate the color of the listview lines but I don't know how
to do it in an eficient way.
I know I can change the backcolor of every single line but I'd like to do
it in base class and then inherit from it.

If the listview control would send a event when an item is added, it would
be very easy but I think there isn't any event like this.

You might be better served by asking this question in
microsoft.public.dotnet.framework.windowsforms.controls.
 
Back
Top