Ying-Shen: repost propertygrid question

  • Thread starter Thread starter Joe
  • Start date Start date
J

Joe

Hi,

I have a collection in an object that can be edited by a propertygrid. When
the user edits properties the
PropertyValueChanged event fires and I can mark my object as dirty (ie needs
saving) but if the user edits a collection contained in the object the event
doesnt fire.

Whats the best way to get notifications if collection contents are changed?
 
Hi Joe,
You want to be notified when the collection is modified?
I'd like to know on what situation the CollectionChanged event should be
fired? adding/removing objects? then how about changing the value of an
invidual object in your collection?Should it also fire the event?

I think you need derive your own Collection class and define this event by
your self.Because the ObjectCollection didn't support event.
Thanks!

Yu
 
Back
Top