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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AutoCompleteSource_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AutoCompleteSource*">AutoCompleteSource Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AutoCompleteSource_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AutoCompleteSource*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AutoCompleteSource" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AutoCompleteSource">AutoCompleteSource</h4>
<div class="markdown level1 summary"><p>Gets or sets the source for 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">public AutoCompleteSource AutoCompleteSource { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">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 <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletesource">AutoCompleteSource</a>. The options
are <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletesource#system-windows-forms-autocompletesource-allsystemsources">AllSystemSources</a>,
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletesource#system-windows-forms-autocompletesource-allurl">AllUrl</a>,
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletesource#system-windows-forms-autocompletesource-filesystem">FileSystem</a>,
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletesource#system-windows-forms-autocompletesource-historylist">HistoryList</a>,
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletesource#system-windows-forms-autocompletesource-recentlyusedlist">RecentlyUsedList</a>,
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletesource#system-windows-forms-autocompletesource-customsource">CustomSource</a>,
and <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletesource#system-windows-forms-autocompletesource-none">None</a>.
<br> The default is <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletesource#system-windows-forms-autocompletesource-none">None</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AutoCompleteSource_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
      Use the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AutoCompleteCustomSource.html#GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AutoCompleteCustomSource">AutoCompleteCustomSource</a>,<a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AutoCompleteMode.html#GrapeCity_Win_Spread_InputMan_CellType_GcComboBoxCellType_AutoCompleteMode">AutoCompleteMode</a>,
      and <b>AutoCompleteSource</b> properties to create a <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcComboBox</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 <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>
