# C1.Web.Mvc.MultiSelect-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_MultiSelect_1" data-uid="C1.Web.Mvc.MultiSelect`1" class="text-break">MultiSelect&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>The MultiSelect control allows users to select multiple items from drop-down lists that contain custom objects or simple strings.</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"><span class="xref">MultiSelect&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_MultiSelect_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class MultiSelect&lt;T&gt; : ComboBoxBase&lt;T&gt;, IHtmlContent, ITemplate, IDropDown</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class MultiSelect(Of T)
    Inherits ComboBoxBase(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>
  <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_MultiSelect_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_" data-uid="C1.Web.Mvc.MultiSelect`1.#ctor(Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper,System.String)">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.-ctor.html#C1_Web_Mvc_MultiSelect_1__ctor_Microsoft_AspNetCore_Mvc_Rendering_IHtmlHelper_System_String_">MultiSelect(IHtmlHelper, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.MultiSelect-1.html">MultiSelect&lt;T&gt;</a> instance.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</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_MultiSelect_1_CheckOnFilter" data-uid="C1.Web.Mvc.MultiSelect`1.CheckOnFilter">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.CheckOnFilter.html#C1_Web_Mvc_MultiSelect_1_CheckOnFilter">CheckOnFilter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value that determines whether the MultiSelectListBox in the drop-down should automatically select all the filtered items when the filter text changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_CheckedIndexes" data-uid="C1.Web.Mvc.MultiSelect`1.CheckedIndexes">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.CheckedIndexes.html#C1_Web_Mvc_MultiSelect_1_CheckedIndexes">CheckedIndexes</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a list containing the indexes of checked items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_CheckedMemberPath" data-uid="C1.Web.Mvc.MultiSelect`1.CheckedMemberPath">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.CheckedMemberPath.html#C1_Web_Mvc_MultiSelect_1_CheckedMemberPath">CheckedMemberPath</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the property used to control the checkboxes placed next to each item.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_CheckedValues" data-uid="C1.Web.Mvc.MultiSelect`1.CheckedValues">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.CheckedValues.html#C1_Web_Mvc_MultiSelect_1_CheckedValues">CheckedValues</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a list containing the item-values that are currently checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_Delay" data-uid="C1.Web.Mvc.MultiSelect`1.Delay">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.Delay.html#C1_Web_Mvc_MultiSelect_1_Delay">Delay</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the delay, in milliseconds, between when a keystroke occurs and when the search is performed to update the filter. This property is relevant only when the ShowFilterInput property is set to true.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_FilterInputPlaceholder" data-uid="C1.Web.Mvc.MultiSelect`1.FilterInputPlaceholder">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.FilterInputPlaceholder.html#C1_Web_Mvc_MultiSelect_1_FilterInputPlaceholder">FilterInputPlaceholder</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the string used as a placeholder for the filter input element on the drop-down.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_HeaderFormat" data-uid="C1.Web.Mvc.MultiSelect`1.HeaderFormat">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.HeaderFormat.html#C1_Web_Mvc_MultiSelect_1_HeaderFormat">HeaderFormat</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the format string used to create the header content when the control has more than MaxHeaderItems items checked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_HeaderFormatter" data-uid="C1.Web.Mvc.MultiSelect`1.HeaderFormatter">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.HeaderFormatter.html#C1_Web_Mvc_MultiSelect_1_HeaderFormatter">HeaderFormatter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a function that gets the HTML in the control header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_MaxHeaderItems" data-uid="C1.Web.Mvc.MultiSelect`1.MaxHeaderItems">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.MaxHeaderItems.html#C1_Web_Mvc_MultiSelect_1_MaxHeaderItems">MaxHeaderItems</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum number of items to display on the control header.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_Name" data-uid="C1.Web.Mvc.MultiSelect`1.Name">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.Name.html#C1_Web_Mvc_MultiSelect_1_Name">Name</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the name of the MultiSelect control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_OnClientCheckedItemsChanged" data-uid="C1.Web.Mvc.MultiSelect`1.OnClientCheckedItemsChanged">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.OnClientCheckedItemsChanged.html#C1_Web_Mvc_MultiSelect_1_OnClientCheckedItemsChanged">OnClientCheckedItemsChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the value of the checked items changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_SelectAllLabel" data-uid="C1.Web.Mvc.MultiSelect`1.SelectAllLabel">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.SelectAllLabel.html#C1_Web_Mvc_MultiSelect_1_SelectAllLabel">SelectAllLabel</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the string to be used as a label for the &quot;Select All&quot; checkbox that is displayed when the ShowSelectAllCheckbox property is set to true.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_ShowFilterInput" data-uid="C1.Web.Mvc.MultiSelect`1.ShowFilterInput">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.ShowFilterInput.html#C1_Web_Mvc_MultiSelect_1_ShowFilterInput">ShowFilterInput</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the control should display a &quot;filter&quot; input above the items to filter the items displayed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_MultiSelect_1_ShowSelectAllCheckbox" data-uid="C1.Web.Mvc.MultiSelect`1.ShowSelectAllCheckbox">
          <a class="xref" href="C1.Web.Mvc.MultiSelect-1.ShowSelectAllCheckbox.html#C1_Web_Mvc_MultiSelect_1_ShowSelectAllCheckbox">ShowSelectAllCheckbox</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the control should display a &quot;Select All&quot; checkbox above the items to select or de-select all items.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
