# GrapeCity.Spreadsheet.NumberFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_NumberFormat" data-uid="GrapeCity.Spreadsheet.NumberFormat" class="text-break">NumberFormat Struct
</h1>
  <div class="markdown level0 summary"><p>Represents number format properties which indicate how to format and render the numeric value of a cell</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.html">NumberFormat</a>&gt;</div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_NumberFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct NumberFormat : IEquatable&lt;NumberFormat&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure NumberFormat
    Implements IEquatable(Of NumberFormat)</code></pre>
  </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_Spreadsheet_NumberFormat__ctor_System_String_" data-uid="GrapeCity.Spreadsheet.NumberFormat.#ctor(System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.-ctor.html#GrapeCity_Spreadsheet_NumberFormat__ctor_System_String_">NumberFormat(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.html">NumberFormat</a> struct.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_NumberFormat_Empty" data-uid="GrapeCity.Spreadsheet.NumberFormat.Empty">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the empty number format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_NumberFormat_General" data-uid="GrapeCity.Spreadsheet.NumberFormat.General">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.General.html">General</a>
        </td>
        <td class="markdown level1 summary"><p>Represents the general number format.</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_Spreadsheet_NumberFormat_BuiltInID" data-uid="GrapeCity.Spreadsheet.NumberFormat.BuiltInID">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.BuiltInID.html#GrapeCity_Spreadsheet_NumberFormat_BuiltInID">BuiltInID</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the built-in number format ID.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_NumberFormat_CellType" data-uid="GrapeCity.Spreadsheet.NumberFormat.CellType">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.CellType.html#GrapeCity_Spreadsheet_NumberFormat_CellType">CellType</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the cell type of this number format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_NumberFormat_FormatCode" data-uid="GrapeCity.Spreadsheet.NumberFormat.FormatCode">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.FormatCode.html#GrapeCity_Spreadsheet_NumberFormat_FormatCode">FormatCode</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number format code of this number format.</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="GrapeCity_Spreadsheet_NumberFormat_CanBeOverridden_GrapeCity_Spreadsheet_NumberFormat__" data-uid="GrapeCity.Spreadsheet.NumberFormat.CanBeOverridden(GrapeCity.Spreadsheet.NumberFormat@)">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.CanBeOverridden.html#GrapeCity_Spreadsheet_NumberFormat_CanBeOverridden_GrapeCity_Spreadsheet_NumberFormat__">CanBeOverridden(ref NumberFormat)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this formatter should be replaced the specified number format.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_NumberFormat_Equals_GrapeCity_Spreadsheet_NumberFormat_" data-uid="GrapeCity.Spreadsheet.NumberFormat.Equals(GrapeCity.Spreadsheet.NumberFormat)">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.Equals.html#GrapeCity_Spreadsheet_NumberFormat_Equals_GrapeCity_Spreadsheet_NumberFormat_">Equals(NumberFormat)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the current object is equal to another object of the same type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_NumberFormat_GetFormatter_GrapeCity_Spreadsheet_IWorkbook_System_Globalization_CultureInfo_" data-uid="GrapeCity.Spreadsheet.NumberFormat.GetFormatter(GrapeCity.Spreadsheet.IWorkbook,System.Globalization.CultureInfo)">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.GetFormatter.html#GrapeCity_Spreadsheet_NumberFormat_GetFormatter_GrapeCity_Spreadsheet_IWorkbook_System_Globalization_CultureInfo_">GetFormatter(IWorkbook, CultureInfo)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the formatter which represents the behavior of this <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.html">NumberFormat</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_NumberFormat_GetHashCode" data-uid="GrapeCity.Spreadsheet.NumberFormat.GetHashCode">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.GetHashCode.html#GrapeCity_Spreadsheet_NumberFormat_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_NumberFormat_IsEmpty" data-uid="GrapeCity.Spreadsheet.NumberFormat.IsEmpty">
          <a class="xref" href="GrapeCity.Spreadsheet.NumberFormat.IsEmpty.html#GrapeCity_Spreadsheet_NumberFormat_IsEmpty">IsEmpty()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this instance is empty.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
