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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ShowRecommendedValue_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ShowRecommendedValue*">ShowRecommendedValue Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ShowRecommendedValue_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ShowRecommendedValue*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ShowRecommendedValue" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ShowRecommendedValue">ShowRecommendedValue</h4>
<div class="markdown level1 summary"><p>Gets or sets a value indicating whether show the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.RecommendedValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_RecommendedValue">RecommendedValue</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public bool ShowRecommendedValue { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property ShowRecommendedValue As Boolean</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.boolean">bool</a></td>
      <td><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if show the recommended value; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>. The default value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ShowRecommendedValue_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
      If user set this property to <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a>, <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.html">GcDateTime</a> will show a lighter text on the field based on the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.RecommendedValue.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_RecommendedValue">RecommendedValue</a>. If the fields contains Japan era year field, it will show corresponding era year name.
      </p>
<p>
      If <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.FieldSet.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_FieldSet">FieldSet</a> doesn't contain any field, the recommended value will not be shown 
      and the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ApplyRecommendedValueCommand.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ApplyRecommendedValueCommand">ApplyRecommendedValueCommand</a> execution will do nothing either.
      </p>
<p>
      Recommended value has lower priority than display fields and watermark.
      When watermark or display fields is shown, the recommended value is not shown any more, but the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.ApplyRecommendedValueCommand.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_ApplyRecommendedValueCommand">ApplyRecommendedValueCommand</a> still works in this case.
      </p>
</div>
</div>
