Hello. How to replace an item in a listBox with the one entered in the text field and update the listBox?
ICollectionView myDataView = CollectionViewSource.GetDefaultView(listBox1.Items); using (myDataView.DeferRefresh()) { myDataView.Refresh(); }
I'm trying to update the view, but I get an error.