How do you setup two way binding when removing/adding items from a list data structure?
Currently each item in my listbox displays string values, If i update any of these values i have the two-way binding set through the propertyChanged notify. Although if i remove the item entirely from the list, how do i update the list?
This is the line i would like to update
Students.CompSciList.RemoveAt(listBox.SelectedIndex).
You have to use a List that notifies your control if something has changed, e.g. ObservableCollection