I have listview and i have binded the listview selected item to a grid's datacontext. The grid contains a text box whose text property is bound to one of the columns in the listview. I have Add, Edit and Delete buttons to manipulate data in the listview.
Whenever i change the selected item in the listview the text in the textbox is changing. Since by default the binding is two way if i edit the data in the textbox it is reflectedi in the listview. But upon clicking on the cancel button the textbox value
is not reverted back to old value. The list view itemsource is bound to an object of the class BindingListCollectionView
Code in button click event where BindingDetails is object of calss BindingListCollectionView. But this code does not rollback the changes in the textbox.
btnCancel_Click(object sender, EventArgs E)
if(IsEdit == true)
I tried the following things.
Trying to get the Text depe
View Complete Post