There are two simple ways one can indicate validation error due to exception.
<Binding.ValidatesOnExceptions>True</Binding.ValidatesOnExceptions>
Or by specifying ValidatingRules and
including an instance of built-in ExceptionValidationRule.
<Binding.ValidationRules>
<ExceptionValidationRule></ExceptionValidationRule>
</Binding.ValidationRules>
No comments:
Post a Comment