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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteSource_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteSource*">AutoCompleteSource Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteSource_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteSource*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteSource" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteSource">AutoCompleteSource</h4>
<div class="markdown level1 summary"><p>Gets or sets a value that specifies the source of strings used for automatic completion.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[TypeConverter(typeof(EditAutoCompleteSourceConverter))]
public AutoCompleteSource AutoCompleteSource { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">&lt;TypeConverter(GetType(EditAutoCompleteSourceConverter))&gt;
Public Property AutoCompleteSource As AutoCompleteSource</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.autocompletesource">AutoCompleteSource</a></td>
      <td><p>One of the values of System.Windows.Forms.AutoCompleteSource. The options
are AllSystemSources, AllUrl, FileSystem, HistoryList, RecentlyUsedList,
CustomSource, and None. <br>The default is <b>None</b>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteSource_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
      Use the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.AutoCompleteCustomSource</span>,<span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.AutoCompleteMode</span>,
      and <b>AutoCompleteSource</b> properties to create a <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox</span>
      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>
