# C1.Win.C1Input.FormatInfo

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Input_FormatInfo" data-uid="C1.Win.C1Input.FormatInfo" class="text-break">FormatInfo Class
</h1>
  <div class="markdown level0 summary"><p>Settings for data formatting, converting data to string.</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.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><span class="xref">FormatInfo</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></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_FormatInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">[TypeConverter(typeof(GenericInheritConverter))]
public class FormatInfo : MarshalByRefObject, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(GenericInheritConverter))&gt;
Public Class FormatInfo
    Inherits MarshalByRefObject
    Implements IDisposable</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_FormatInfo_CalendarType" data-uid="C1.Win.C1Input.FormatInfo.CalendarType">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.CalendarType.html#C1_Win_C1Input_FormatInfo_CalendarType">CalendarType</a>
        </td>
        <td class="markdown level1 summary"><p>Calendar, used to format date.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_CustomFormat" data-uid="C1.Win.C1Input.FormatInfo.CustomFormat">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.CustomFormat.html#C1_Win_C1Input_FormatInfo_CustomFormat">CustomFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Custom format specifier used if FormatType = FormatTypeEnum.CustomFormat.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_EmptyAsNull" data-uid="C1.Win.C1Input.FormatInfo.EmptyAsNull">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.EmptyAsNull.html#C1_Win_C1Input_FormatInfo_EmptyAsNull">EmptyAsNull</a>
        </td>
        <td class="markdown level1 summary"><p>If True, empty strings are interpreted as null values (DbNull).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_FormatType" data-uid="C1.Win.C1Input.FormatInfo.FormatType">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.FormatType.html#C1_Win_C1Input_FormatInfo_FormatType">FormatType</a>
        </td>
        <td class="markdown level1 summary"><p>Enumeration value determining the formatting method, including standard .NET format specifiers, custom and programmatic formatting.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_Inherit" data-uid="C1.Win.C1Input.FormatInfo.Inherit">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.Inherit.html#C1_Win_C1Input_FormatInfo_Inherit">Inherit</a>
        </td>
        <td class="markdown level1 summary"><p>Manages inheritance of the FormatInfo properties from the host control properties.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_NullText" data-uid="C1.Win.C1Input.FormatInfo.NullText">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.NullText.html#C1_Win_C1Input_FormatInfo_NullText">NullText</a>
        </td>
        <td class="markdown level1 summary"><p>String representing a DbNull value.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_TrimEnd" data-uid="C1.Win.C1Input.FormatInfo.TrimEnd">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.TrimEnd.html#C1_Win_C1Input_FormatInfo_TrimEnd">TrimEnd</a>
        </td>
        <td class="markdown level1 summary"><p>If True, trailing spaces are removed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_TrimStart" data-uid="C1.Win.C1Input.FormatInfo.TrimStart">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.TrimStart.html#C1_Win_C1Input_FormatInfo_TrimStart">TrimStart</a>
        </td>
        <td class="markdown level1 summary"><p>If True, leading spaces are removed.</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_FormatInfo_Format_System_Object_" data-uid="C1.Win.C1Input.FormatInfo.Format(System.Object)">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.Format.html#C1_Win_C1Input_FormatInfo_Format_System_Object_">Format(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats a value, converts it to a string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_Format_System_Object_C1_Win_C1Input_FormatTypeEnum_System_Globalization_CultureInfo_" data-uid="C1.Win.C1Input.FormatInfo.Format(System.Object,C1.Win.C1Input.FormatTypeEnum,System.Globalization.CultureInfo)">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.Format.html#C1_Win_C1Input_FormatInfo_Format_System_Object_C1_Win_C1Input_FormatTypeEnum_System_Globalization_CultureInfo_">Format(object, FormatTypeEnum, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Formats a value, converts it to a string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_Reset" data-uid="C1.Win.C1Input.FormatInfo.Reset">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.Reset.html#C1_Win_C1Input_FormatInfo_Reset">Reset()</a>
        </td>
        <td class="markdown level1 summary"><p>Resets whole FormatInfo property of base control</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ResetCalendarType" data-uid="C1.Win.C1Input.FormatInfo.ResetCalendarType">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ResetCalendarType.html#C1_Win_C1Input_FormatInfo_ResetCalendarType">ResetCalendarType()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ResetCustomFormat" data-uid="C1.Win.C1Input.FormatInfo.ResetCustomFormat">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ResetCustomFormat.html#C1_Win_C1Input_FormatInfo_ResetCustomFormat">ResetCustomFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ResetEmptyAsNull" data-uid="C1.Win.C1Input.FormatInfo.ResetEmptyAsNull">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ResetEmptyAsNull.html#C1_Win_C1Input_FormatInfo_ResetEmptyAsNull">ResetEmptyAsNull()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ResetFormatType" data-uid="C1.Win.C1Input.FormatInfo.ResetFormatType">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ResetFormatType.html#C1_Win_C1Input_FormatInfo_ResetFormatType">ResetFormatType()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ResetInherit" data-uid="C1.Win.C1Input.FormatInfo.ResetInherit">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ResetInherit.html#C1_Win_C1Input_FormatInfo_ResetInherit">ResetInherit()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ResetNullText" data-uid="C1.Win.C1Input.FormatInfo.ResetNullText">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ResetNullText.html#C1_Win_C1Input_FormatInfo_ResetNullText">ResetNullText()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ResetTrimEnd" data-uid="C1.Win.C1Input.FormatInfo.ResetTrimEnd">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ResetTrimEnd.html#C1_Win_C1Input_FormatInfo_ResetTrimEnd">ResetTrimEnd()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ResetTrimStart" data-uid="C1.Win.C1Input.FormatInfo.ResetTrimStart">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ResetTrimStart.html#C1_Win_C1Input_FormatInfo_ResetTrimStart">ResetTrimStart()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ShouldSerializeCalendarType" data-uid="C1.Win.C1Input.FormatInfo.ShouldSerializeCalendarType">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ShouldSerializeCalendarType.html#C1_Win_C1Input_FormatInfo_ShouldSerializeCalendarType">ShouldSerializeCalendarType()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ShouldSerializeCustomFormat" data-uid="C1.Win.C1Input.FormatInfo.ShouldSerializeCustomFormat">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ShouldSerializeCustomFormat.html#C1_Win_C1Input_FormatInfo_ShouldSerializeCustomFormat">ShouldSerializeCustomFormat()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ShouldSerializeEmptyAsNull" data-uid="C1.Win.C1Input.FormatInfo.ShouldSerializeEmptyAsNull">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ShouldSerializeEmptyAsNull.html#C1_Win_C1Input_FormatInfo_ShouldSerializeEmptyAsNull">ShouldSerializeEmptyAsNull()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ShouldSerializeFormatType" data-uid="C1.Win.C1Input.FormatInfo.ShouldSerializeFormatType">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ShouldSerializeFormatType.html#C1_Win_C1Input_FormatInfo_ShouldSerializeFormatType">ShouldSerializeFormatType()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ShouldSerializeInherit" data-uid="C1.Win.C1Input.FormatInfo.ShouldSerializeInherit">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ShouldSerializeInherit.html#C1_Win_C1Input_FormatInfo_ShouldSerializeInherit">ShouldSerializeInherit()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ShouldSerializeNullText" data-uid="C1.Win.C1Input.FormatInfo.ShouldSerializeNullText">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ShouldSerializeNullText.html#C1_Win_C1Input_FormatInfo_ShouldSerializeNullText">ShouldSerializeNullText()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ShouldSerializeTrimEnd" data-uid="C1.Win.C1Input.FormatInfo.ShouldSerializeTrimEnd">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ShouldSerializeTrimEnd.html#C1_Win_C1Input_FormatInfo_ShouldSerializeTrimEnd">ShouldSerializeTrimEnd()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Input_FormatInfo_ShouldSerializeTrimStart" data-uid="C1.Win.C1Input.FormatInfo.ShouldSerializeTrimStart">
          <a class="xref" href="C1.Win.C1Input.FormatInfo.ShouldSerializeTrimStart.html#C1_Win_C1Input_FormatInfo_ShouldSerializeTrimStart">ShouldSerializeTrimStart()</a>
        </td>
        <td class="markdown level1 summary"><p>This method is for internal use only.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
