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

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 4964

Trending Articles



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