Click here to Skip to main content
15,886,830 members
Everything / ListBox

ListBox

ListBox

Great Reads

by Nilay M Joshi
Multiselect Combobox - Custom control for WPF
by Magnus_
public static void RemoveSelected(this ListControl source){ foreach (var item in source.Items.Cast().Where(li => li.Selected).ToList()) source.Items.Remove(item);}protected void btnRemove_Click(object sender, EventArgs e){ lstCity.RemoveSelected();}
by Evren Yortuçboylu
A checkbox list jQuery UI widget with real time filtering functionality explained
by Paul_Williams
The difference between ListBox and CheckedListBox DataBinding.

Latest Articles

by Martin Henke (1971)
Edit Metadata for folders by using desktop.ini features
by Nilay M Joshi
Multiselect Combobox - Custom control for WPF
by Michael Shpilt
A WPF tutorial on how to create FilteredListView: A ListView custom control with search filter that uses Throttling.
by davekahn
An easy way to control the lists of options in multiple related SELECT controls

All Articles

Sort by Score

ListBox 

14 May 2010 by Magnus_
public static void RemoveSelected(this ListControl source){ foreach (var item in source.Items.Cast().Where(li => li.Selected).ToList()) source.Items.Remove(item);}protected void btnRemove_Click(object sender, EventArgs e){ lstCity.RemoveSelected();}
18 Sep 2012 by Evren Yortuçboylu
A checkbox list jQuery UI widget with real time filtering functionality explained
15 Aug 2011 by Paul_Williams
The difference between ListBox and CheckedListBox DataBinding.
6 Jun 2013 by rmerca
This is an alternative for "Checkbox List With Filtering jQuery Widget"
17 Jan 2012 by Stefan Huy
Tag Listbox Object
12 Nov 2013 by John Pravin
Asynchronous Programming with Task Parallel Library.
9 Feb 2011 by Nidhi P Bhargava
There is no direct way to remove multiple selected items from ListBox when SelectionMode of ListBox is set to "Multiple". So there is a small solution to handle this situation.In following Example ListBox "lstCity" contains multiple cities and SelectionMode is set "Multiple".