title: How to ensure date entered into TcxDateEdit is within MinDate/MaxDate?
body: <p>TcxDateEdit allows to set properties for <code>MinDate</code> and <code>MaxDate</code>. However I can't find a key that would make the control to validate the entered date automatically and ensure that the date is within the specified range.</p>
  
  <p>For example:</p>
  
  <pre><code>MinDate := EncodeDate(1900, 1, 1);
  MaxDate := EncodeDate(2100, 1, 1);
  </code></pre>
  
  <p>When I enter a date <code>1.1.1111</code> it throws an error instead of fitting it into the range <code>01.01.1900 .. 01.01.2100</code></p>