Solved

More than one image in listview control

Posted on 2004-03-23
4
311 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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