title: Binding - disable break on property throw
body: <p>Using exception validation</p>
  
  <pre><code>&lt;TextBox&gt;
      &lt;Binding Path="Value"
               UpdateSourceTrigger="PropertyChanged"&gt;
          &lt;Binding.ValidationRules&gt;
              &lt;ExceptionValidationRule /&gt;
          &lt;/Binding.ValidationRules&gt;
      &lt;/Binding&gt;
  &lt;/TextBox&gt;
  </code></pre>
  
  <p>for this property</p>
  
  <pre><code>int _value = 1;
  public int Value
  {
      get { return _value; }
      set
      {
          if (value &lt; 1)
              throw new ArgumentException();
          _value = value;
          OnPropertyChanged();
      }
  }
  </code></pre>
  
  <p>If I enter nonsense (e.g. <code>1asdkfjlsdf</code>) <code>TextBox</code> will get a red border. Fine.</p>
  
  <p>But as soon as I enter <code>0</code> while debugging break will occurs</p>
  
  <p><a href="https://i.stack.imgur.com/bHmv6.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/bHmv6.png" alt=""></a></p>
  
  <p>and I have to click <kbd>Continue</kbd> on debugging bar every time.</p>
  
  <p>Without debugging it work as expected: red border for either <code>12093813asdf</code> or <code>0</code> value.</p>
  
  <p>Question: how do I prevent that break?</p>
  
  <p>I can un-check specific exception (arrow on screenshot), but I want breaks when this exception occurs in other places (e.g. in Model logic <code>ArgumentException</code> is thrown in some methods too). I can make my own exception, throw it and un-check it, but I am not happy with that either.</p>