AddValueChanged functionality

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,
i played a bit with
System.ComponentModel.PropertyDescriptor.AddValueChanged(...) and it seems
that i receive notification
only when property is changed by PropertyDescriptor's SetValue(). there is
no notification when property is changed 'normal' way ( e.g.
something.ReadOnly = true ). is that correct behavior or am i doing something
wrong?
thank you.
 
It won't work unless you have <ProperyName>Changed event on this class.

Property setter should fire this even every time property has been changed.



Best regards,



Ilya



This posting is provided "AS IS" with no warranties, and confers no rights.
 

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