NotifyChanged from SubClasses Into BaseClassNotifyChanged from SubClasses Into BaseClass
Old forum URL: forums.lhotka.net/forums/t/1868.aspx
m.dobler posted on Wednesday, November 29, 2006
I have a custom CSLA class that has a collection of other CSLA Business Classes. Now I tried to retrieve a NotifyChanged event in the main class when a child class property changed. But no event is raised.
Does this simply not work or do I have to imlement some code into the child class to make that happen?
(i need this for some special databinding issues)
Can somebody help
best Regards
Mike Dobler
ajj3085 replied on Wednesday, November 29, 2006
your class needs to listen to PropertyChanged or ListChanged events, depending on if the child you're listening to is a BusinessBase or BusinessListBase subclass. In your handler, you should raise a property changed event.
HTH
Andy
m.dobler replied on Wednesday, November 29, 2006
Hi Andy,
thanks, this will help me a lot.
Regards,
Mike
Copyright (c) Marimer LLC