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

Commented Unassigned: PropertyGrid validation is not updated when collection changes [20198]

$
0
0
I have a ObservableCollection<string> property with custom validation done by IDataErrorInfo.

If one of the strings in the collection does not validate, the propertygrid does not show the validation error. If I manually redraw the control (i.e. changing back and forth between tabs in my app) the red box and the validation error info appears.

Validation of simple string properties works correct, the red box is shown immediately.

Version 2.0
Comments: ** Comment from web user: maos **

It seems to be a more general issue regarding collections.
If the collection is updated from an external source (i.e. the repository), the PropertyGrid does not refresh.
Even if I raise PropertyChanged explicitly for the collection when it changes, PropertyGrid does not update the property value.


Viewing all articles
Browse latest Browse all 4964

Trending Articles



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