Solved

More than one image in listview control

Posted on 2004-03-23
4
293 Views
Last Modified: 2010-04-15
Hello Everyone,

I need to use a list control that can display two images in each row, along with text. The images need to be in separate columns. The UI will be kind of like Microsoft Outlook, where in the message list they show the mail icon and clip icon in the same row.

I looked up listview control in .NET and found that they only allow one image per row. Is there any way to go about it without using third party controls. I want to use controls provided with Visual Studio .NET only.
0
Comment
Question by:saj1
  • 2
  • 2
4 Comments
 
LVL 5

Expert Comment

by:AdrianJMartin
ID: 10656828
Use one picture that looks like 2 pictures.
0
 
LVL 1

Author Comment

by:saj1
ID: 10657100
Thats a neat trick. :)

BUT i can't use that. There will be too many combinations. Also, the images have to be in different columns.
0
 
LVL 5

Accepted Solution

by:
AdrianJMartin earned 250 total points
ID: 10657282
Ok use a Datagrid then this article shows how to set up a datagridcolumstyle that displays images

http://www.codeguru.com/Csharp/Csharp/cs_controls/datagrid/article.php/c4783/
0
 
LVL 1

Author Comment

by:saj1
ID: 10698194
Thanks. I tried it out. This will do nicely.
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now