473,473 Members | 1,742 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ListView or Grid component

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
May 3 '06 #1
2 2194
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.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Padu" <pa**@merlotti.com> wrote in message
news:eK********************@iswest.net...
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

May 3 '06 #2
"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
May 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Daisy | last post by:
I'm writing a NewsReader (seemed like a decent project to start learning with), and want threading like in OE. I've got a treeview and a listview. On Expand/Contract on the listview, I spin...
6
by: Ivan Weiss | last post by:
Hi all, I am writing an app that displays data such as a list of customers, vendors, products etc... in a listview. The listview however is pretty ugly and boring and I am pretty bad at making...
6
by: Jack | last post by:
Hello, I've noticed through searching this group's previous posts that one can get the item the mouse is over in a listview control but I did not see how to get the subitem the mouse is over. Is...
0
by: Lee Grissom | last post by:
For example, the ListView.SmallImages property. Anybody know the Property Grid enumerates available imagelists for that? Does it iterate through all the components looking to see if the class is...
4
by: gene kelley | last post by:
I had a VB6 app that used a third party ListView control to simply display various recordsets. The control had a VirtualMode which I used for this display. Now in VB2005, I want to do the same...
3
by: Martin Panggabean | last post by:
Hello All, I've kind a logic problem ... I want to fill the listView control in VB.NET with data in my mySql table using Datareader object component. But It seems that the way of how listView...
1
by: --== Alain ==-- | last post by:
Hi, Several months ago i've asked some information about the best way how to have some particular columns (progress bar, checkbox, images, color picker,...) in a ListView component. It seems...
5
by: --== Alain ==-- | last post by:
Hi, Several months ago i've asked some information about the best way how to have some particular columns (progress bar, checkbox, images, color picker,...) in a ListView component. It seems...
7
by: Liz | last post by:
My ListView components seem to produce distortion when they are scrolled in Details view; it looks almost like the text has a "strike-through" attribute applied to it. Does anyone know of a fix...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.