# GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType.DefaultActiveField

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcDateTimeCellType_DefaultActiveField_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType.DefaultActiveField*">DefaultActiveField Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcDateTimeCellType_DefaultActiveField_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType.DefaultActiveField*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcDateTimeCellType_DefaultActiveField" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType.DefaultActiveField">DefaultActiveField</h4>
<div class="markdown level1 summary"><p>Gets or sets the default active field of the cell.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[TypeConverter(typeof(GcDateTimeDefaultActiveFieldInfoTypeConverter))]
public DateFieldInfo DefaultActiveField { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(GcDateTimeDefaultActiveFieldInfoTypeConverter))&gt;
Public Property DefaultActiveField As DateFieldInfo</code></pre>
</div>
<h5 class="propertyValue">Property Value</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.DateFieldInfo.html">DateFieldInfo</a></td>
      <td><p>A <span class="xref">GrapeCity.Win.Views.Field</span> value that indicates the default active field.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcDateTimeCellType_DefaultActiveField_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>When the cell enters edit mode, the default active field gets the focus and caret first.</p>
</div>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Condition</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.argumentexception">ArgumentException</a></td>
      <td><p>The value is not a <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.Fields.DateInputField.html">DateInputField</a>.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
