# C1.Web.Mvc.Fluent.DropDownBuilder-3

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_DropDownBuilder_3" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3" class="text-break">DropDownBuilder&lt;T, TControl, TBuilder&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.DropDown-1.html">DropDown&lt;T&gt;</a>.</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"><span class="xref">HideObjectMembers</span></div>
    <div class="level2"><a class="xref" href="C1.Web.Mvc.Fluent.BaseBuilder-2.html">BaseBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.ComponentBuilder-2.html">ComponentBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ControlBuilder-2.html">ControlBuilder</a>&lt;TControl, TBuilder&gt;</div>
    <div class="level5"><a class="xref" href="C1.Web.Mvc.Fluent.ItemsBoundControlBuilder-3.html">ItemsBoundControlBuilder</a>&lt;T, TControl, TBuilder&gt;</div>
    <div class="level6"><span class="xref">DropDownBuilder&lt;T, TControl, TBuilder&gt;</span></div>
      <div class="level7"><a class="xref" href="C1.Web.Mvc.Fluent.ComboBoxBaseBuilder-3.html">ComboBoxBaseBuilder&lt;T, TControl, TBuilder&gt;</a></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>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Web.Mvc.Fluent.html">C1.Web.Mvc.Fluent</a></h6>
  <h6><strong>Assembly</strong>: C1.AspNetCore.Mvc.dll</h6>
  <h5 id="C1_Web_Mvc_Fluent_DropDownBuilder_3_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public abstract class DropDownBuilder&lt;T, TControl, TBuilder&gt; : ItemsBoundControlBuilder&lt;T, TControl, TBuilder&gt;, IHtmlContent where TControl : DropDown&lt;T&gt; where TBuilder : DropDownBuilder&lt;T, TControl, TBuilder&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public MustInherit Class DropDownBuilder(Of T, TControl As DropDown(Of T), TBuilder As DropDownBuilder(Of T, TControl, TBuilder))
    Inherits ItemsBoundControlBuilder(Of T, TControl, TBuilder)
    Implements IHtmlContent</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>
      <tr>
        <td><span class="parametername">TControl</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">TBuilder</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_Fluent_DropDownBuilder_3__ctor__1_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.#ctor(`1)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.-ctor.html#C1_Web_Mvc_Fluent_DropDownBuilder_3__ctor__1_">DropDownBuilder(TControl)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.html">DropDownBuilder&lt;T, TControl, TBuilder&gt;</a> instance to configurate <code class="paramref">component</code>.</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_Fluent_DropDownBuilder_3_AutoExpandSelection_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.AutoExpandSelection(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.AutoExpandSelection.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_AutoExpandSelection_System_Boolean_">AutoExpandSelection(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.AutoExpandSelection.html#C1_Web_Mvc_DropDown_1_AutoExpandSelection">AutoExpandSelection</a>.
Sets a value that indicates whether the control should automatically expand the selection to whole words/numbers when the control is clicked.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_ClickAction_C1_Web_Mvc_ClickAction_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.ClickAction(C1.Web.Mvc.ClickAction)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.ClickAction.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_ClickAction_C1_Web_Mvc_ClickAction_">ClickAction(ClickAction)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.ClickAction.html#C1_Web_Mvc_DropDown_1_ClickAction">ClickAction</a>.
Sets a value that specifies the action to perform when the user clicks the input element in the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_DropDownCssClass_System_String_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.DropDownCssClass(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.DropDownCssClass.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_DropDownCssClass_System_String_">DropDownCssClass(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.DropDownCssClass.html#C1_Web_Mvc_DropDown_1_DropDownCssClass">DropDownCssClass</a>.
Sets a CSS class name to add to the control's drop-down element.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_InputType_System_String_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.InputType(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.InputType.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_InputType_System_String_">InputType(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.InputType.html#C1_Web_Mvc_DropDown_1_InputType">InputType</a>.
Sets the &quot;type&quot; attribute of the HTML input element hosted by the control.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_IsAnimated_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.IsAnimated(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.IsAnimated.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_IsAnimated_System_Boolean_">IsAnimated(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.IsAnimated.html#C1_Web_Mvc_DropDown_1_IsAnimated">IsAnimated</a>.
Sets a value that indicates whether the control should use a fade-in animation when displaying the drop-down.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_IsDroppedDown_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.IsDroppedDown(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.IsDroppedDown.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_IsDroppedDown_System_Boolean_">IsDroppedDown(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.IsDroppedDown.html#C1_Web_Mvc_DropDown_1_IsDroppedDown">IsDroppedDown</a>.
Sets a value indicating whether the drop down is currently visible.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_IsReadOnly_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.IsReadOnly(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.IsReadOnly.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_IsReadOnly_System_Boolean_">IsReadOnly(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.IsReadOnly.html#C1_Web_Mvc_DropDown_1_IsReadOnly">IsReadOnly</a>.
Sets a value that indicates whether the user can modify the control value using the mouse and keyboard.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_IsRequired_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.IsRequired(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.IsRequired.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_IsRequired_System_Boolean_">IsRequired(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.IsRequired.html#C1_Web_Mvc_DropDown_1_IsRequired">IsRequired</a>.
Sets a value indicating whether the control value must be a non-empty string.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_KeyActionDownArrow_C1_Web_Mvc_InputKeyAction_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.KeyActionDownArrow(C1.Web.Mvc.InputKeyAction)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.KeyActionDownArrow.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_KeyActionDownArrow_C1_Web_Mvc_InputKeyAction_">KeyActionDownArrow(InputKeyAction)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.KeyActionDownArrow.html#C1_Web_Mvc_DropDown_1_KeyActionDownArrow">KeyActionDownArrow</a>.
Sets the action to perform when the DOWN ARROW key is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_KeyActionUpArrow_C1_Web_Mvc_InputKeyAction_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.KeyActionUpArrow(C1.Web.Mvc.InputKeyAction)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.KeyActionUpArrow.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_KeyActionUpArrow_C1_Web_Mvc_InputKeyAction_">KeyActionUpArrow(InputKeyAction)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.KeyActionUpArrow.html#C1_Web_Mvc_DropDown_1_KeyActionUpArrow">KeyActionUpArrow</a>.
Sets the action to perform when the UP ARROW key is pressed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_OnClientIsDroppedDownChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.OnClientIsDroppedDownChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.OnClientIsDroppedDownChanged.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_OnClientIsDroppedDownChanged_System_String_">OnClientIsDroppedDownChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.DropDown-1.OnClientIsDroppedDownChanged.html#C1_Web_Mvc_DropDown_1_OnClientIsDroppedDownChanged">OnClientIsDroppedDownChanged</a> client event.
Occurs after the drop down is shown or hidden.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_OnClientIsDroppedDownChanging_System_String_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.OnClientIsDroppedDownChanging(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.OnClientIsDroppedDownChanging.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_OnClientIsDroppedDownChanging_System_String_">OnClientIsDroppedDownChanging(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.DropDown-1.OnClientIsDroppedDownChanging.html#C1_Web_Mvc_DropDown_1_OnClientIsDroppedDownChanging">OnClientIsDroppedDownChanging</a> client event.
Occurs before the drop down is shown or hidden.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_OnClientTextChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.OnClientTextChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.OnClientTextChanged.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_OnClientTextChanged_System_String_">OnClientTextChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.DropDown-1.OnClientTextChanged.html#C1_Web_Mvc_DropDown_1_OnClientTextChanged">OnClientTextChanged</a> client event.
Occurs when the value of the Text property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_Placeholder_System_String_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.Placeholder(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.Placeholder.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_Placeholder_System_String_">Placeholder(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.Placeholder.html#C1_Web_Mvc_DropDown_1_Placeholder">Placeholder</a>.
Sets the string shown as a hint when the control is empty.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_ShowDropDownButton_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.ShowDropDownButton(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.ShowDropDownButton.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_ShowDropDownButton_System_Boolean_">ShowDropDownButton(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.ShowDropDownButton.html#C1_Web_Mvc_DropDown_1_ShowDropDownButton">ShowDropDownButton</a>.
Sets a value indicating whether the control should display a drop-down button.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_DropDownBuilder_3_Text_System_String_" data-uid="C1.Web.Mvc.Fluent.DropDownBuilder`3.Text(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.DropDownBuilder-3.Text.html#C1_Web_Mvc_Fluent_DropDownBuilder_3_Text_System_String_">Text(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.DropDown-1.Text.html#C1_Web_Mvc_DropDown_1_Text">Text</a>.
Sets the text shown on the control.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
