# GrapeCity.Win.Spread.InputMan.CellType.NumberDisplayFieldInfosBuilder.BuildFields

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_NumberDisplayFieldInfosBuilder_BuildFields_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NumberDisplayFieldInfosBuilder.BuildFields*">BuildFields Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_NumberDisplayFieldInfosBuilder_BuildFields_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NumberDisplayFieldInfosBuilder.BuildFields*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_NumberDisplayFieldInfosBuilder_BuildFields_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NumberDisplayFieldInfosBuilder.BuildFields(System.String)">BuildFields(string)</h4>
<div class="markdown level1 summary"><p>Builds a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberDisplayFieldInfo.html">NumberDisplayFieldInfo</a> object using the specified format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static NumberDisplayFieldInfo[] BuildFields(string format)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function BuildFields(format As String) As NumberDisplayFieldInfo()</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">format</span></td>
      <td><p>The specified format defined by the date control.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberDisplayFieldInfo.html">NumberDisplayFieldInfo</a>[]</td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberDisplayFieldInfo.html">NumberDisplayFieldInfo</a> array that indicates the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType.html">GcNumberCellType</a> fields.</p>
</td>
    </tr>
  </tbody>
</table>


<a id="GrapeCity_Win_Spread_InputMan_CellType_NumberDisplayFieldInfosBuilder_BuildFields_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NumberDisplayFieldInfosBuilder.BuildFields*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_NumberDisplayFieldInfosBuilder_BuildFields_System_String_System_String_System_String_System_String_System_String_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.NumberDisplayFieldInfosBuilder.BuildFields(System.String,System.String,System.String,System.String,System.String)">BuildFields(string, string, string, string, string)</h4>
<div class="markdown level1 summary"><p>Builds a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberDisplayFieldInfo.html">NumberDisplayFieldInfo</a> object using the specified format.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static NumberDisplayFieldInfo[] BuildFields(string pattern, string positivePrefix, string positiveSuffix, string negativePrefix, string negativeSuffix)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Function BuildFields(pattern As String, positivePrefix As String, positiveSuffix As String, negativePrefix As String, negativeSuffix As String) As NumberDisplayFieldInfo()</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">pattern</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the pattern.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">positivePrefix</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the prefix string when value is positive.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">positiveSuffix</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the suffix string when value is positive.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">negativePrefix</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the prefix string when value is negative.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">negativeSuffix</span></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a> value that indicates the suffix string when value is negative.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberDisplayFieldInfo.html">NumberDisplayFieldInfo</a>[]</td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.NumberDisplayFieldInfo.html">NumberDisplayFieldInfo</a> array that indicates the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType.html">GcNumberCellType</a> fields.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
