# GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.FocusedDate

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_FocusedDate_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.FocusedDate*">FocusedDate Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_FocusedDate_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.FocusedDate*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_FocusedDate" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.FocusedDate">FocusedDate</h4>
<div class="markdown level1 summary"><p>Gets or sets the day with focus in the drop down calendar. This is a dependency property.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Bindable(true)]
[TypeConverter(typeof(DateTimeConverter))]
public DateTime? FocusedDate { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;Bindable(True)&gt;
&lt;TypeConverter(GetType(DateTimeConverter))&gt;
Public Property FocusedDate As Date?</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="https://learn.microsoft.com/dotnet/api/system.datetime">DateTime</a>?</td>
      <td><p>A nullable DateTime value that represents the day with focus.
The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_FocusedDate_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>The drop down calendar focused date could be specified by assigning this property.<br>
This update occurs when drop down is opened.</p>
<p>
If <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.FocusedDate.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_FocusedDate">FocusedDate</a> is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>, 
the focused date of drop down calendar will be updated to the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.Value.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_Value">Value</a>.
If the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.Value.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_Value">Value</a> is still <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>, 
it will be updated to <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.datetime.today">Today</a>.
</p><p>
If <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.FocusedDate.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_FocusedDate">FocusedDate</a> is not <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>, the focused date of drop down calendar will be updated to the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.FocusedDate.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_FocusedDate">FocusedDate</a>.
</p>
</div>
</div>
