Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7948095
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T01:37:25+00:00 2026-06-04T01:37:25+00:00

Is there any control in c# which allows us to make some sort of

  • 0

Is there any control in c# which allows us to make some sort of list view with images and formatted text and icons, something like the contacts in android? The closest I found is this:

1) http://www.c-sharpcorner.com/UploadFile/mgold/ListViewInCSharp11172005021741AM/ListViewInCSharp.aspx

2) http://www.dreamincode.net/forums/topic/75911-adding-images-to-listview/

Which in my opinion is very ugly compared to what android and iPhone can do, something like this:

http://www.trymasak.my/sample/iphone2.jpg
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T01:37:26+00:00Added an answer on June 4, 2026 at 1:37 am

    Ok, well if you don’t care whether you use WinForms or WPF, I would recommend using WPF.

    If you want something like a ListView, try using the DataGrid. The basic concept you need here is the usage of the DataTemplate. Within the DataTemplate, you can restyle the contents of the cell however you like.

    Here’s a rough example that I pulled from some of my code, but I haven’t made it compile on its own. It’ll give you a good head start.

    <DataGrid ItemsSource="{Binding MyGridData}" AutoGenerateColumns="False" Name="my_datagrid">
        <DataGrid.Columns>
            <DataGridTemplateColumn Header="Column1">
                <DataGridTemplateColumn.CellTemplate>
                    <DataTemplate>
                        <StackPanel Orientation="Horizontal">
                            <Image Source={Binding GridCellImage}" />
                            <TextBlock Text="{Binding GridCellText}" />
                        </StackPanel>
                    </DataTemplate>
                </DataGridTemplateColumn.CellTemplate>
            </DataGridTemplateColumn>
        </DataGrid.Columns>
    </DataGrid>
    

    Read up on databinding to understand MyGridData. It’s basically going to be a collection in code-behind that supplies the information for your grid. It could be something like a List<T> or ObservableCollection<T>. T is a class that has two public properties called GridCellImage and GridCellText. WPF makes it easy in that you create your data in code-behind, and because it is databound your GUI will update automatically (in the case of the ObservableCollection). Set GridCellImage to your image path and GridCellText to the text you want in that cell. GridCellImage needs more specified to actually make it work, but the point of this answer is to show you how easy it is to retemplate stuff in WPF to make it display data pretty much however you like.

    Hope this helps!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any (simple) way to get some control of the order in which
Is there any file loader control in WPF which allows importing files during the
Is there any free ajax uploading control which can give black-screen on the page
In ASP.NET, is there any databound control (GridView, DataList, Repeater, ListView etc.) which has
Is there any WPF control (commercial or not) that integrates well with the MVVM
Good morning all. Is there any jsf control that escapes the html tags? Imagine
Is there any way to control and manual specification for start of teaser ?.
Is there any way to add a ActiveX control to a JPanel.
Is there any way to see what a control will look like in the
Are there any other methods of bringing a control to the front other than

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.