# GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType.GetDefaultDisplayFields

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberCellType_GetDefaultDisplayFields_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType.GetDefaultDisplayFields*">GetDefaultDisplayFields Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberCellType_GetDefaultDisplayFields_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType.GetDefaultDisplayFields*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberCellType_GetDefaultDisplayFields" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcNumberCellType.GetDefaultDisplayFields">GetDefaultDisplayFields()</h4>
<div class="markdown level1 summary"><p>Gets the default display fields.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual NumberDisplayFieldInfo[] GetDefaultDisplayFields()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function GetDefaultDisplayFields() As NumberDisplayFieldInfo()</code></pre>
</div>
<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.DateDisplayFieldInfo.html">DateDisplayFieldInfo</a> array that contains all default fields for display purposes.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcNumberCellType_GetDefaultDisplayFields_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <b>GetDefaultDisplayFields</b> method allows derived classes to customize default display fields when
the cell is created.
If <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> is returned, no display field is added to the cell.</p>
</div>
</div>
