all groups > dotnet compact framework > february 2005 >
You're in the

dotnet compact framework

group:

AddValueChanged functionality



AddValueChanged functionality hcexi
2/9/2005 10:11:01 PM
dotnet compact framework: 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?
Re: AddValueChanged functionality Ilya Tumanov [MS]
2/10/2005 10:16:23 AM
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.



[quoted text, click to view]

AddThis Social Bookmark Button