I am using the PropertyGrid to edit a class structure. Some of the members are collections of objects, which can be edited with the CollectionControlDialog. The classes in the collections have a Name property and I am overriding the ToString() method, so that the CollectionControlDialog shows the object names on the left hand side.
However, it only updates the names after closing and reopening the CollectionControlDialog.
Is there any way to update the text on the left hand side as soon as the Name property is edited? INotifyPropertyChanged doesn't help, because it is using the ToString() method and not the Name property.
However, it only updates the names after closing and reopening the CollectionControlDialog.
Is there any way to update the text on the left hand side as soon as the Name property is edited? INotifyPropertyChanged doesn't help, because it is using the ToString() method and not the Name property.