Results 1 to 4 of 4

Thread: ListView or ListBox

  1. #1
    Join Date
    Jul 2009
    Posts
    81

    ListView or ListBox

    I am currently using 8000+ items in a ListView and this will increase with time. But the problem is that the time of my form loading and search result is too slow. This is affecting my project performance. I consulted with some of my expert friends and they suggested me to use ListBox because it supports more than this. So I want to ask you which is better for projects: ListView or ListBox which will be handling more than 10000 of items.

  2. #2
    Join Date
    Nov 2005
    Posts
    1,323

    Re: ListView or ListBox

    A ListBox is simple and relatively lightweight. The ListView gives you a lot more control over appearance then ListBox. But ListView reduces the project performance and requires additional dependencies. On the contrary, ListBox improves project performance. ListView's are more Object Oriented than the ListBox.

  3. #3
    Join Date
    Nov 2008
    Posts
    1,192

    Re: ListView or ListBox

    A ListView is a special kind of ListBox that inherits all the functionalities of ListBox. It not only allows you to list items but also specifies them in different views. It is often called as multi-column ListBox. In your case, if you do not want all this functionalities and want a simple and normal straight view then you can go for ListBox.

  4. #4
    Join Date
    May 2008
    Posts
    685

    Re: ListView or ListBox

    ListView is used to present the data items which is defined by its view mode. Windows Presentation Foundation (WPF) provides a GridView view mode that partitions the ListView data item content into columns. Whereas ListBox displays the list items in straight view and is used when layout is not important. Even we have used ListBox in our project.

Similar Threads

  1. Problem with Listview Controls in VB.NET
    By Abel18 in forum Software Development
    Replies: 6
    Last Post: 08-10-2011, 09:10 PM
  2. how to use Vscrollbars with Listview
    By Suffix in forum Software Development
    Replies: 1
    Last Post: 01-10-2011, 11:46 AM
  3. Want to delete the data using the ListView
    By Flaco in forum Software Development
    Replies: 6
    Last Post: 20-01-2010, 05:42 PM
  4. Transfer the data to another listview
    By Chhaya in forum Software Development
    Replies: 3
    Last Post: 05-10-2009, 12:19 PM
  5. limits on listview
    By Christopher in forum Software Development
    Replies: 3
    Last Post: 17-10-2008, 03:07 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,046,262.30059 seconds with 16 queries