BlackburnKL
Programmer
I have a ListBox on a Windows Form which is bound to a property of an object. The object's property is a list of messages, defined as List<string>.
In code I have updated the object and its list of messages, but the list displayed in the ListBox has not changed. I can force the list to update by killing the data binding and setting it up again, but it seems that the whole purpose of binding it in the first place was so that changes would be reflected on screen.
I have traced it through and find that the object has indeed changed and that the ListBox is bound to the object's property. All tests show that they are equal, but the items on their lists are different.
Any ideas?
BlackburnKL
In code I have updated the object and its list of messages, but the list displayed in the ListBox has not changed. I can force the list to update by killing the data binding and setting it up again, but it seems that the whole purpose of binding it in the first place was so that changes would be reflected on screen.
I have traced it through and find that the object has indeed changed and that the ListBox is bound to the object's property. All tests show that they are equal, but the items on their lists are different.
Any ideas?
BlackburnKL