C
Chris
Hi,
I've got a problem with the PropertyGrid and the
INotifyPropertyChanged interface. I have a class that implements the
INotifyPropertyChanged and raises the PropertyChanged when a property
of this class is changed. My PropertyGrid is connected to this object
through the SelectedObject property.
My problem is that the PropertyGrid does not get updated when the
object's property value is changed. I can see that the
INotifyPropertyChanged.PropertyChanged is null which means that the
PropertyGrid is not attached to this event.
How can I make the PropertyGrid listen to
INotifyPropertyChanged.PropertyChanged events?
Best regards,
Chris
I've got a problem with the PropertyGrid and the
INotifyPropertyChanged interface. I have a class that implements the
INotifyPropertyChanged and raises the PropertyChanged when a property
of this class is changed. My PropertyGrid is connected to this object
through the SelectedObject property.
My problem is that the PropertyGrid does not get updated when the
object's property value is changed. I can see that the
INotifyPropertyChanged.PropertyChanged is null which means that the
PropertyGrid is not attached to this event.
How can I make the PropertyGrid listen to
INotifyPropertyChanged.PropertyChanged events?
Best regards,
Chris