# C1.Win.Input.Formating.FormatErrorEventArgs

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_Input_Formating_FormatErrorEventArgs" data-uid="C1.Win.Input.Formating.FormatErrorEventArgs" class="text-break">FormatErrorEventArgs Class
</h1>
  <div class="markdown level0 summary"><p>Provides data for a FormatError event.</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventargs">EventArgs</a></div>
    <div class="level2"><span class="xref">FormatErrorEventArgs</span></div>
      <div class="level3"><a class="xref" href="C1.Win.Input.Formating.FormatEventArgs.html">FormatEventArgs</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Input.Formating.html">C1.Win.Input.Formating</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Input.10.dll</h6>
  <h5 id="C1_Win_Input_Formating_FormatErrorEventArgs_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class FormatErrorEventArgs : EventArgs</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class FormatErrorEventArgs
    Inherits EventArgs</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_Input_Formating_FormatErrorEventArgs_ErrorMessage" data-uid="C1.Win.Input.Formating.FormatErrorEventArgs.ErrorMessage">
          <a class="xref" href="C1.Win.Input.Formating.FormatErrorEventArgs.ErrorMessage.html#C1_Win_Input_Formating_FormatErrorEventArgs_ErrorMessage">ErrorMessage</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the error description shown as the tooltip in the ErrorProvider icon, if ErrorInfo.ErrorProvider property is set.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Formating_FormatErrorEventArgs_FormatInfo" data-uid="C1.Win.Input.Formating.FormatErrorEventArgs.FormatInfo">
          <a class="xref" href="C1.Win.Input.Formating.FormatErrorEventArgs.FormatInfo.html#C1_Win_Input_Formating_FormatErrorEventArgs_FormatInfo">FormatInfo</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the FormatInfo object that fired the event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Formating_FormatErrorEventArgs_Target" data-uid="C1.Win.Input.Formating.FormatErrorEventArgs.Target">
          <a class="xref" href="C1.Win.Input.Formating.FormatErrorEventArgs.Target.html#C1_Win_Input_Formating_FormatErrorEventArgs_Target">Target</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the value that indicating formatting target (ForEdit or ForDisplay).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Formating_FormatErrorEventArgs_Text" data-uid="C1.Win.Input.Formating.FormatErrorEventArgs.Text">
          <a class="xref" href="C1.Win.Input.Formating.FormatErrorEventArgs.Text.html#C1_Win_Input_Formating_FormatErrorEventArgs_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text to show in the control. Your code in FormatError event can set this argument to a text
you want to show in the control in case of a formatting error.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_Formating_FormatErrorEventArgs_Value" data-uid="C1.Win.Input.Formating.FormatErrorEventArgs.Value">
          <a class="xref" href="C1.Win.Input.Formating.FormatErrorEventArgs.Value.html#C1_Win_Input_Formating_FormatErrorEventArgs_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the source value for formatting.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
