title: WPF Validation for the whole form
body: <p>I have been seriously disappointed with WPF validation system. Anyway! How can I validate the complete form by clicking the "button"? </p>
  
  <p>For some reason everything in WPF is soo complicated! I can do the validation in 1 line of code in ASP.NET which requires like 10-20 lines of code in WPF!!</p>
  
  <p>I can do this using my own ValidationEngine framework: </p>
  
  <pre><code>Customer customer = new Customer();
  customer.FirstName = "John";
  customer.LastName = String.Empty;
  
  ValidationEngine.Validate(customer);
  
  if (customer.BrokenRules.Count &gt; 0)
  {
     // do something display the broken rules! 
  }
  </code></pre>