Deleting Multiple Selected Items in WPF
September 11, 2009 -1 min read
Hi, Many a times while using listbox,listview etc there might be a need to delete the multiple selected items. This can be easily achieved by the following piece of code
While ControlName.SelectedItems.Count > 0
ControlName.Items.Remove(ControlName.SelectedItem)
End While
Happy Coding :)