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

New Post: PropertyGrid Collection Editor not firing PropertyValueChanged event?

$
0
0
I have two different types of collections in the PropertyGrid. I have a List<string> and a List<CustomType>. When editing either, the PropertyValueChanged event is not being fired. How can I inspect the changed values of a property that is a Collection? Is this a bug or by design? Do I need to make a custom editor?

For instance, when using the List of my CustomType, the Collection Control is opened when I select the property in the grid. That control has a its own propertygrid. After editing one of the properties in that grid, such as a "Content" property, how do I perform validation after the user hits "OK" on the Collection Control?

Viewing all articles
Browse latest Browse all 4964

Trending Articles



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