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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

custom listview object 1
Working with listviews 8
c# ListView selection change 5
Listview DragDrop 4
Divider in ListView 8
Removing ListView items 1
Disable Items in ListView 4
ListView vs ListBox 2

Back
Top