I use two-way binding for winforms text fields. I need to work if a user changes my data Looking for help for
CurrentItemChanged event
It appears that this event fires if the property has changed, however it also fires if the current has changed.
Is there a way to find out if the data has changed?
a similar question was also asked here but didn’t answer in my opinion
Oliver mentions "if your object in the list supports the INotifyPropertyChanged event, and you replace List with a BindingList, you can subscribe to the ListChanged event in the BindingList to get information about any changes made by the user."
My application meets these conditions, but I cannot get it to work. The ListChangedType.ItemChanged property looked encouraging, but it changes when I go to the next record without changing the data.
I found a link at Microsoft here , but of course it can't be that hard!
c # data-binding winforms 2-way-object-databinding
kirsten g
source share