# GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteMode

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteMode_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteMode*">AutoCompleteMode Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteMode_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteMode*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteMode" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteMode">AutoCompleteMode</h4>
<div class="markdown level1 summary"><p>Gets or sets an option that controls how automatic completion works for
the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox</span> control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AutoCompleteMode AutoCompleteMode { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AutoCompleteMode As AutoCompleteMode</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.windows.forms.autocompletemode">AutoCompleteMode</a></td>
      <td><p>One of the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.AutoCompleteMode</span> values.
The values are AutoAppend, AutoSuggest, AutoSuggestAppend, and None.
<br>The default is <b>None</b>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteMode_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
      Use the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.AutoCompleteCustomSource</span>, <b>AutoCompleteMode</b>,
      and <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.AutoCompleteSource</span> properties to create a <b>GcTextBox</b> that automatically
      completes input strings by comparing the prefix being entered to the prefixes of all strings in a maintained source.
      This is useful for <b>GcTextBox</b> controls in which URLs, addresses, file names, or commands are frequently entered.
    </p>
<p></p>
<p>
      The use of the <b>AutoCompleteCustomSource</b> property is optional,
      but you must set the <b>AutoCompleteSource</b> property to <b>CustomSource</b>
      in order to use <b>AutoCompleteCustomSource</b>.
    </p>
<p></p>
<p>
      You must use the <b>AutoCompleteMode</b> and <b>AutoCompleteSource</b>
      properties together.
    </p>
</div>
</div>
