# C1.Win.C1Input.ErrorInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Input_ErrorInfo" data-uid="C1.Win.C1Input.ErrorInfo" class="text-break">ErrorInfo Class
</h1>
  <div class="markdown level0 summary"><p>Settings affecting error handling.</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">ErrorInfo</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Input.html">C1.Win.C1Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Win_C1Input_ErrorInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(GenericExpandableConverter))]
public class ErrorInfo</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(GenericExpandableConverter))&gt;
Public Class ErrorInfo</code></pre>
  </div>
  <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="C1_Win_C1Input_ErrorInfo_BeepOnError" data-uid="C1.Win.C1Input.ErrorInfo.BeepOnError">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.BeepOnError.html#C1_Win_C1Input_ErrorInfo_BeepOnError">BeepOnError</a>
        </td>
        <td class="markdown level1 summary"><p>If True, the control beeps signaling an error. Default: False.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_C1SuperErrorProvider" data-uid="C1.Win.C1Input.ErrorInfo.C1SuperErrorProvider">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.C1SuperErrorProvider.html#C1_Win_C1Input_ErrorInfo_C1SuperErrorProvider">C1SuperErrorProvider</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an C1SuperErrorProvider object used to indicate error state of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_CanLoseFocus" data-uid="C1.Win.C1Input.ErrorInfo.CanLoseFocus">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.CanLoseFocus.html#C1_Win_C1Input_ErrorInfo_CanLoseFocus">CanLoseFocus</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether or not the control is allowed to lose focus after the error. Works only if the ErrorAction is set to SetValueOnError or ResetValue.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_DataType" data-uid="C1.Win.C1Input.ErrorInfo.DataType">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.DataType.html#C1_Win_C1Input_ErrorInfo_DataType">DataType</a>
        </td>
        <td class="markdown level1 summary"><p>Type of the Value property.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_ErrorAction" data-uid="C1.Win.C1Input.ErrorInfo.ErrorAction">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.ErrorAction.html#C1_Win_C1Input_ErrorInfo_ErrorAction">ErrorAction</a>
        </td>
        <td class="markdown level1 summary"><p>Enumerated value that determines what action is performed on the control value when an error occurs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_ErrorMessage" data-uid="C1.Win.C1Input.ErrorInfo.ErrorMessage">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.ErrorMessage.html#C1_Win_C1Input_ErrorInfo_ErrorMessage">ErrorMessage</a>
        </td>
        <td class="markdown level1 summary"><p>Error message shown in the standard message box and/or in the exception.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_ErrorMessageCaption" data-uid="C1.Win.C1Input.ErrorInfo.ErrorMessageCaption">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.ErrorMessageCaption.html#C1_Win_C1Input_ErrorInfo_ErrorMessageCaption">ErrorMessageCaption</a>
        </td>
        <td class="markdown level1 summary"><p>The text to display in the title bar of the error message box.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_ErrorProvider" data-uid="C1.Win.C1Input.ErrorInfo.ErrorProvider">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.ErrorProvider.html#C1_Win_C1Input_ErrorInfo_ErrorProvider">ErrorProvider</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an ErrorProvider object used to indicate error state of the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_InnerException" data-uid="C1.Win.C1Input.ErrorInfo.InnerException">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.InnerException.html#C1_Win_C1Input_ErrorInfo_InnerException">InnerException</a>
        </td>
        <td class="markdown level1 summary"><p>Run-time-only read-only property returning the original exception object that caused the error.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_ShowErrorMessage" data-uid="C1.Win.C1Input.ErrorInfo.ShowErrorMessage">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.ShowErrorMessage.html#C1_Win_C1Input_ErrorInfo_ShowErrorMessage">ShowErrorMessage</a>
        </td>
        <td class="markdown level1 summary"><p>If True (default), the standard error message is shown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_ValueOnError" data-uid="C1.Win.C1Input.ErrorInfo.ValueOnError">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.ValueOnError.html#C1_Win_C1Input_ErrorInfo_ValueOnError">ValueOnError</a>
        </td>
        <td class="markdown level1 summary"><p>Value used to reset the control if ErrorAction = SetValueOnError.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_ValueOnErrorIsDbNull" data-uid="C1.Win.C1Input.ErrorInfo.ValueOnErrorIsDbNull">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.ValueOnErrorIsDbNull.html#C1_Win_C1Input_ErrorInfo_ValueOnErrorIsDbNull">ValueOnErrorIsDbNull</a>
        </td>
        <td class="markdown level1 summary"><p>Boolean property used to set ValueOnError to DbNull (only necessary at design time).</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_Reset" data-uid="C1.Win.C1Input.ErrorInfo.Reset">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.Reset.html#C1_Win_C1Input_ErrorInfo_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets whole ErrorInfo property in base control</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_ErrorInfo_ShouldSerializeValueOnError" data-uid="C1.Win.C1Input.ErrorInfo.ShouldSerializeValueOnError">
          <a class="xref" href="C1.Win.C1Input.ErrorInfo.ShouldSerializeValueOnError.html#C1_Win_C1Input_ErrorInfo_ShouldSerializeValueOnError">ShouldSerializeValueOnError()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
