
Hi,
my problem is that I need the sub-properties of a property to refresh (or even change completely) when the parent property value changes. I my case, the sub-properties are in fact certain properties of the value of parent property. I am using a TypeConverter (actual type <-> string) to assign new objects here (as converted from the strings), but cannot get the sub-properties to reflect these new objects.
Technically, I have my own IPropertyDataAccessor that also implements IDataAccessorNotifier and INotifyPropertyChanged. I do recognize changes to the value, but have no idea how to forward them properly.
Firing the Notify() of IDataAccessorNotifier only causes the grid to draw a red rectangle around the parent property. (Note that the change that caused the Notify was a value update made through the grid, in case that matters.)
Firing PropertyChanged() has no visual effect (keep in mind that the directly affected item already has the new value), i.e., the grid does not attempt to update the child items. For this event, I am also not sure what sender and arguments I have to supply. I tried both forwarding directly the arguments from the original value's PropertyChanged event, which I use to detect changes, but also provided the IDataAccessorNotifier object and "Value" as the property name.
Any hints?
Best,
Tim
PS: Yes, I am using the latest version