# C1.Web.Mvc.Fluent.TabPanelBuilder

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Web_Mvc_Fluent_TabPanelBuilder" data-uid="C1.Web.Mvc.Fluent.TabPanelBuilder" class="text-break">TabPanelBuilder Class
</h1>
  <div class="markdown level0 summary"><p>Defines a builder to configurate <a class="xref" href="C1.Web.Mvc.TabPanel.html">TabPanel</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;<a class="xref" href="C1.Web.Mvc.TabPanel.html">TabPanel</a>, <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.html">TabPanelBuilder</a>&gt;</div>
    <div class="level3"><a class="xref" href="C1.Web.Mvc.Fluent.ComponentBuilder-2.html">ComponentBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.TabPanel.html">TabPanel</a>, <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.html">TabPanelBuilder</a>&gt;</div>
    <div class="level4"><a class="xref" href="C1.Web.Mvc.Fluent.ControlBuilder-2.html">ControlBuilder</a>&lt;<a class="xref" href="C1.Web.Mvc.TabPanel.html">TabPanel</a>, <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.html">TabPanelBuilder</a>&gt;</div>
    <div class="level5"><span class="xref">TabPanelBuilder</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>
  <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_TabPanelBuilder_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TabPanelBuilder : ControlBuilder&lt;TabPanel, TabPanelBuilder&gt;, IHtmlContent</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TabPanelBuilder
    Inherits ControlBuilder(Of TabPanel, TabPanelBuilder)
    Implements IHtmlContent</code></pre>
  </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_Fluent_TabPanelBuilder__ctor_C1_Web_Mvc_TabPanel_" data-uid="C1.Web.Mvc.Fluent.TabPanelBuilder.#ctor(C1.Web.Mvc.TabPanel)">
          <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.-ctor.html#C1_Web_Mvc_Fluent_TabPanelBuilder__ctor_C1_Web_Mvc_TabPanel_">TabPanelBuilder(TabPanel)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates one <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.html">TabPanelBuilder</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_TabPanelBuilder_AutoSwitch_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.TabPanelBuilder.AutoSwitch(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.AutoSwitch.html#C1_Web_Mvc_Fluent_TabPanelBuilder_AutoSwitch_System_Boolean_">AutoSwitch(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.TabPanel.AutoSwitch.html#C1_Web_Mvc_TabPanel_AutoSwitch">AutoSwitch</a>.
Sets a value that determines whether the control should switch tabs automatically when the user selects a tab using the arrow keys.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TabPanelBuilder_IsAnimated_System_Boolean_" data-uid="C1.Web.Mvc.Fluent.TabPanelBuilder.IsAnimated(System.Boolean)">
          <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.IsAnimated.html#C1_Web_Mvc_Fluent_TabPanelBuilder_IsAnimated_System_Boolean_">IsAnimated(bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.TabPanel.IsAnimated.html#C1_Web_Mvc_TabPanel_IsAnimated">IsAnimated</a>.
Sets a value that determines whether tab changes should be animated with a fade-in effect.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TabPanelBuilder_OnClientSelectedIndexChanged_System_String_" data-uid="C1.Web.Mvc.Fluent.TabPanelBuilder.OnClientSelectedIndexChanged(System.String)">
          <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.OnClientSelectedIndexChanged.html#C1_Web_Mvc_Fluent_TabPanelBuilder_OnClientSelectedIndexChanged_System_String_">OnClientSelectedIndexChanged(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates the <a class="xref" href="C1.Web.Mvc.TabPanel.OnClientSelectedIndexChanged.html#C1_Web_Mvc_TabPanel_OnClientSelectedIndexChanged">OnClientSelectedIndexChanged</a> client event.
Occurs when the value of the selectedIndex property changes.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TabPanelBuilder_SelectedIndex_System_Int32_" data-uid="C1.Web.Mvc.Fluent.TabPanelBuilder.SelectedIndex(System.Int32)">
          <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.SelectedIndex.html#C1_Web_Mvc_Fluent_TabPanelBuilder_SelectedIndex_System_Int32_">SelectedIndex(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Configurates <a class="xref" href="C1.Web.Mvc.TabPanel.SelectedIndex.html#C1_Web_Mvc_TabPanel_SelectedIndex">SelectedIndex</a>.
Sets the index of the currently selected (active) tab.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Web_Mvc_Fluent_TabPanelBuilder_Tabs_System_Action_C1_Web_Mvc_Fluent_ListItemFactory_C1_Web_Mvc_Tab_C1_Web_Mvc_Fluent_TabBuilder___" data-uid="C1.Web.Mvc.Fluent.TabPanelBuilder.Tabs(System.Action{C1.Web.Mvc.Fluent.ListItemFactory{C1.Web.Mvc.Tab,C1.Web.Mvc.Fluent.TabBuilder}})">
          <a class="xref" href="C1.Web.Mvc.Fluent.TabPanelBuilder.Tabs.html#C1_Web_Mvc_Fluent_TabPanelBuilder_Tabs_System_Action_C1_Web_Mvc_Fluent_ListItemFactory_C1_Web_Mvc_Tab_C1_Web_Mvc_Fluent_TabBuilder___">Tabs(Action&lt;ListItemFactory&lt;Tab, TabBuilder&gt;&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the Tabs property.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
