阅读背景:

在WPF中使用ValidatesOnExceptions = true时,如何在抛出ArgumentException时防止调试器中断

来源:互联网 

I am using the ValidatesOnExceptions=true method of WPF validation. This involves throwing an exception in the source's property setter method. It works but the debugger always breaks when the exception is thrown. I am guessing that this is because the exception is not caught directly in my user code but it is caught in the WPF validation code. Is there anyway to stop the behavior, or is it just the price you pay when you use this method of validation?I am using the ValidatesOnExceptions=true metho




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: