# GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.GetDefaultFields

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_GetDefaultFields_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.GetDefaultFields*">GetDefaultFields Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_GetDefaultFields_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.GetDefaultFields*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_GetDefaultFields" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTimeSpanCellType.GetDefaultFields">GetDefaultFields()</h4>
<div class="markdown level1 summary"><p>Gets the default 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 TimeSpanFieldInfo[] GetDefaultFields()</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Function GetDefaultFields() As TimeSpanFieldInfo()</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.TimeSpanFieldInfo.html">TimeSpanFieldInfo</a>[]</td>
      <td><p>A <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.TimeSpanField.html">TimeSpanField</a> array that contains all default input fields.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTimeSpanCellType_GetDefaultFields_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The <b>GetDefaultFields</b> method allows derived classes to customize default fields when
the control is created.
If <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> is returned, no field is added to the cell.</p>
</div>
</div>
