M
Martin
Hello,
i have a custom collection implementing IList. this collection holds custom
objects. my binding object is the collection. i implemented the
PropertyChanged events in my custom object.
example:
txtMyControl.DataBindings.Add("Text", myCustomCollection, "MyPropertyName");
the problem is, that the text editor isn't refreshed when the property
changed. the following works:
txtMyControl.DataBindings.Add("Text", myCustomCollection[sKey],
"MyPropertyName");
do anybody know why the second works or why the first don't work?
thanx!
i have a custom collection implementing IList. this collection holds custom
objects. my binding object is the collection. i implemented the
PropertyChanged events in my custom object.
example:
txtMyControl.DataBindings.Add("Text", myCustomCollection, "MyPropertyName");
the problem is, that the text editor isn't refreshed when the property
changed. the following works:
txtMyControl.DataBindings.Add("Text", myCustomCollection[sKey],
"MyPropertyName");
do anybody know why the second works or why the first don't work?
thanx!