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

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteCustomSource_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteCustomSource*">AutoCompleteCustomSource Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteCustomSource_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteCustomSource*"></a>
<h4 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteCustomSource" data-uid="GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType.AutoCompleteCustomSource">AutoCompleteCustomSource</h4>
<div class="markdown level1 summary"><p>Gets or sets a custom <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletestringcollection">AutoCompleteStringCollection</a> to use
when the <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.AutoCompleteSource</span> property is set to CustomSource.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public AutoCompleteStringCollection AutoCompleteCustomSource { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Property AutoCompleteCustomSource As AutoCompleteStringCollection</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.autocompletestringcollection">AutoCompleteStringCollection</a></td>
      <td><p>A <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.autocompletestringcollection">AutoCompleteStringCollection</a> to use with <span class="xref">GrapeCity.Win.Spread.InputMan.CellType.GcTextBox.AutoCompleteSource</span>.
<br>The default is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a>.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_Win_Spread_InputMan_CellType_GcTextBoxCellType_AutoCompleteCustomSource_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>
      Use the <b>AutoCompleteCustomSource</b>, <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 the input string by comparing the prefix being entered to the
      prefixes of all strings in a maintained source. This is useful for TextBox controls in which
      URLs, addresses, file names, or commands are frequently entered.
    <p></p><p>
      The use of the <b>AutoCompleteCustomSource</b> property is optional, but you must
      set the <b>AutoCompleteSource</b> property to CustomSource 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>
