Quantcast
Channel: wpftoolkit Discussions Rss Feed
Viewing all articles
Browse latest Browse all 2157

New Post: Howto Check if a propertyGrid has Validation Errors

$
0
0
Ok, got it:
PropertyItemCollection prop = (PropertyItemCollection) propertyGrid.Properties; 
bool validationError = prop.Any(p => p.GetBindingExpression(PropertyItem.ValueProperty).HasValidationError);

Viewing all articles
Browse latest Browse all 2157

Trending Articles



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