ListView or Grid component

P

Padu

I'm looking for a component to make listviews (perhaps grid). I have two
requirements for the component for two different situations I want to use
it.
In the first situation, I need a listview that either allow to have an image
on the background or a gradient background.
The second application is to have a listview in "detail" mode or a grid (it
will be read-only, therefore I'm not sure if I need a grid component). The
only thing extra from the listview that comes with C# is that I want to have
alternating color rows.

Any suggestion?

Cheers

Padu
 
N

Nicholas Paldino [.NET/C# MVP]

Padu,

I don't think that you can have alternating color rows on a ListView.

You should use the DataGridView class. It has a BackgroundImage
property that you can set the background image to. It will also let you
alternate row colors.

Hope this helps.
 
P

Padu

"Nicholas Paldino
Padu,

I don't think that you can have alternating color rows on a ListView.

You should use the DataGridView class. It has a BackgroundImage
property that you can set the background image to. It will also let you
alternate row colors.

Hope this helps.

Thanks for the help. Yes, I found out that listview does not provide the
additional features I want. I started playing with the DataGridView and I
found it a bit too much. If we find no other way such an easy to use 3rd
party component, then we'll have to use it.

Cheers

Padu
 

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

Top