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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_HighlightText_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.HighlightText*">HighlightText Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_HighlightText_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.HighlightText*"></a>
<h4 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_HighlightText" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.HighlightText">HighlightText</h4>
<div class="markdown level1 summary"><p>Gets or sets how to select the text when the control receives the focus.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public HighlightText HighlightText { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property HighlightText As HighlightText</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.Wpf.SpreadSheet.CellType.Editors.HighlightText.html">HighlightText</a></td>
      <td><p>One of the GrapeCity.Windows.InputMan.HighlightText enumeration values.<br>
The default is GrapeCity.Windows.InputMan.HighlightText.None.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_GcDateTime_HighlightText_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>User can determine which part of <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.html">GcDateTime</a> is selected when <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.GcDateTime.html">GcDateTime</a>
gets keyboard focus by setting this property different InputMan.HighlightText
enumeration value. It can select a field, the whole text of control or nothing.</p>
</div>
</div>
