Attached is a small simple VB.NET app that loads a Listview with some items. I want the items to appear as I add them but right now they do not appear until all of the items are added. What do I have to do to get an added item to appear as I add them? Thank you
Last edited by Jim Bassett; September 30th, 2009 at 03:46 PM.
Reason: Make problem clearer and note an attachment has been added
I would recommend is using an ObservableCollection and bind the listbox to the collection.
That way you can add/remove items to the collection and the listbox will automatically display the changes. Also, you probably want to set it up in the Loaded event instead of ContentRendered event.
I don't code in VB, but here's a link to a sample:
* The Best Reasons to Target Windows 8
Learn some of the best reasons why you should seriously consider bringing your Android mobile development expertise to bear on the Windows 8 platform.