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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top