Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

New Post: Update item names in CollectionControlDialog from PropertyGrid

$
0
0
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.

Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>