# GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlValidator" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator" class="text-break">ControlValidator Class
</h1>
  <div class="markdown level0 summary"><p>Represents the base class to validate and do the operation according to validation result.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">ControlValidator</span></div>
      <div class="level2"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.InputTextValidator.html">InputTextValidator</a></div>
      <div class="level2"><a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.RangeValidator.html">RangeValidator</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlValidator_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class ControlValidator</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class ControlValidator</code></pre>
  </div>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlValidator_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>User-written validation actions must derive from this class.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlValidator__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlValidator__ctor">ControlValidator()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator.html">ControlValidator</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlValidator__ctor_System_Object_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator.#ctor(System.Object)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlValidator__ctor_System_Object_">ControlValidator(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator.html">ControlValidator</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlValidator_ErrorContent" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator.ErrorContent">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ControlValidator.ErrorContent.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ControlValidator_ErrorContent">ErrorContent</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an object that provides additional information about the invalidity.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
