Solved

More than one image in listview control

Posted on 2004-03-23
4
308 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled

749 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