12.8 How do you clear the contents of a list box?


You have to access the Items of the ListBox using the Items property and clear (or otherwise operate on the items) these.


this.lb1.Items.Clear();

© 2001-2010 Copyright Syncfusion Inc. All rights reserved.  |  Privacy Policy  |  Contact  |  Sitemap