# C1.Web.Mvc.AutoComplete-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_AutoComplete_1" data-uid="C1.Web.Mvc.AutoComplete`1" class="text-break">AutoComplete&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>The AutoComplete control is an input control that allows callers to customize the item list as the user types.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="C1.Web.Mvc.Component.html">Component</a></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Control.html">Control</a></div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.ItemsBoundControl-1.html">ItemsBoundControl</a>&lt;T&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.DropDown-1.html">DropDown</a>&lt;T&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.ComboBoxBase-1.html">ComboBoxBase</a>&lt;T&gt;</div>
    <div class="level6"><a class="xref" href="C1.Web.Mvc.AutoCompleteBase-1.html">AutoCompleteBase</a>&lt;T&gt;</div>
    <div class="level7"><span class="xref">AutoComplete&lt;T&gt;</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/microsoft.aspnetcore.html.ihtmlcontent">IHtmlContent</a></div>
    <div><a class="xref" href="C1.Web.Mvc.ITemplate.html">ITemplate</a></div>
    <div><a class="xref" href="C1.Web.Mvc.IDropDown.html">IDropDown</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.html">C1.Web.Mvc</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_AutoComplete_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class AutoComplete&lt;T&gt; : AutoCompleteBase&lt;T&gt;, IHtmlContent, ITemplate, IDropDown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class AutoComplete(Of T)
    Inherits AutoCompleteBase(Of T)
    Implements IHtmlContent, ITemplate, IDropDown</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 id="C1_Web_Mvc_AutoComplete_1_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>The control is similar to the ComboBox, except the item source is a function (ItemsSourceFunction) rather than a static list. For example, you can look up items on remote databases as the user types.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_AutoComplete_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.AutoComplete`1.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.AutoComplete-1.-ctor.html#C1_Web_Mvc_AutoComplete_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">AutoComplete(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.AutoComplete-1.html">AutoComplete&lt;T&gt;</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Web_Mvc_AutoComplete_1_Render_System_IO_TextWriter_System_Text_Encodings_Web_HtmlEncoder_" data-uid="C1.Web.Mvc.AutoComplete`1.Render(System.IO.TextWriter,System.Text.Encodings.Web.HtmlEncoder)">
          <a class="xref" href="C1.Web.Mvc.AutoComplete-1.Render.html#C1_Web_Mvc_AutoComplete_1_Render_System_IO_TextWriter_System_Text_Encodings_Web_HtmlEncoder_">Render(TextWriter, HtmlEncoder)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
