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.
 
Back
Top