title: Triggering data validation in WPF
body: <p>I have a problem in WPF with validation.<br>
  I have a user control which has few textboxes, which are binding to datamodel.<br>
  The validation is implemented with IDataErrorInfo.  </p>
  
  <p>I want the validation to be triggered only when the user press the button "Submit data", so I used <code>UpdateSourceTrigger="Explicit"</code>  with the binding of all those text boxes.</p>
  
  <p>Everything working fine, and the validation only triggered when the user push the button, where I update the datasources.</p>
  
  <p>But that user control can be hidden or shown, and when I changed the visibility from display/ to hidden and then back to display, the validation is triggered.</p>
  
  <p>Is there a way to control the validation on that stage?</p>