# GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ValidationTrigger

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ValidationTrigger_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ValidationTrigger*">ValidationTrigger Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ValidationTrigger_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ValidationTrigger*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ValidationTrigger" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ValidationTrigger">ValidationTrigger</h4>
<div class="markdown level1 summary"><p>Gets or sets a value that determines the timing of validating GrapeCity.Windows.InputMan.GcDateTime.Value property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ValidationTrigger ValidationTrigger { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ValidationTrigger As ValidationTrigger</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ValidationTrigger.html">ValidationTrigger</a></td>
      <td><p>One of the GrapeCity.Windows.InputMan.ValidationTrigger values.
The default is GrapeCity.Windows.InputMan.ValidationTrigger.LostFocus.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ValidationTrigger_examples">Examples</h5>
<p>The following xaml demonstrates how to use <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator.html">ControlValidator</a> to validate control value.</p>

</div>
