# C1.Framework.SplitButtonElement.DropDownList

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_SplitButtonElement_DropDownList" data-uid="C1.Framework.SplitButtonElement.DropDownList" class="text-break">SplitButtonElement.DropDownList Class
</h1>
  <div class="markdown level0 summary"><p>Implements dropdown form for <a class="xref" href="C1.Framework.SplitButtonElement.html">SplitButtonElement</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"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.control">Control</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.scrollablecontrol">ScrollableControl</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.containercontrol">ContainerControl</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.form">Form</a></div>
    <div class="level7"><a class="xref" href="C1.Framework.DropDownFormBase.html">DropDownFormBase</a></div>
    <div class="level8"><span class="xref">SplitButtonElement.DropDownList</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isynchronizeinvoke">ISynchronizeInvoke</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.iwin32window">IWin32Window</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.ibindablecomponent">IBindableComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.icontainercontrol">IContainerControl</a></div>
    <div><a class="xref" href="C1.Framework.IDropDownForm.html">IDropDownForm</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.imessagefilter">IMessageFilter</a></div>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUia.html">ISupportUia</a></div>
    <div><a class="xref" href="C1.Win.Accessibility.ISupportUiaContainer.html">ISupportUiaContainer</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.html">C1.Framework</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.10.dll</h6>
  <h5 id="C1_Framework_SplitButtonElement_DropDownList_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class SplitButtonElement.DropDownList : DropDownFormBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IContainerControl, IDropDownForm, IDisposable, IMessageFilter, ISupportUia, ISupportUiaContainer</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class SplitButtonElement.DropDownList
    Inherits DropDownFormBase
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IContainerControl, IDropDownForm, IDisposable, IMessageFilter, ISupportUia, ISupportUiaContainer</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_Framework_SplitButtonElement_DropDownList__ctor_C1_Framework_SplitButtonElement_" data-uid="C1.Framework.SplitButtonElement.DropDownList.#ctor(C1.Framework.SplitButtonElement)">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.-ctor.html#C1_Framework_SplitButtonElement_DropDownList__ctor_C1_Framework_SplitButtonElement_">DropDownList(SplitButtonElement)</a>
        </td>
        <td class="markdown level1 summary"><p>Creates a new instance of <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.html">SplitButtonElement.DropDownList</a></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_Framework_SplitButtonElement_DropDownList_Items" data-uid="C1.Framework.SplitButtonElement.DropDownList.Items">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.Items.html#C1_Framework_SplitButtonElement_DropDownList_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>Gets <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.html">SplitButtonElement.DropDownList</a> child items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_SelectedIndex" data-uid="C1.Framework.SplitButtonElement.DropDownList.SelectedIndex">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.SelectedIndex.html#C1_Framework_SplitButtonElement_DropDownList_SelectedIndex">SelectedIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets an index of the selected item or sets the <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.SelectedItem.html#C1_Framework_SplitButtonElement_DropDownList_SelectedItem">SelectedItem</a> by the given index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_SelectedItem" data-uid="C1.Framework.SplitButtonElement.DropDownList.SelectedItem">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.SelectedItem.html#C1_Framework_SplitButtonElement_DropDownList_SelectedItem">SelectedItem</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets currently selected item.</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_Framework_SplitButtonElement_DropDownList_AddItems_System_Collections_Generic_IEnumerable_C1_Framework_SplitButtonElement_SplitButtonElementDropDownListItem__" data-uid="C1.Framework.SplitButtonElement.DropDownList.AddItems(System.Collections.Generic.IEnumerable{C1.Framework.SplitButtonElement.SplitButtonElementDropDownListItem})">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.AddItems.html#C1_Framework_SplitButtonElement_DropDownList_AddItems_System_Collections_Generic_IEnumerable_C1_Framework_SplitButtonElement_SplitButtonElementDropDownListItem__">AddItems(IEnumerable&lt;SplitButtonElementDropDownListItem&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills dropdown with items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_AddItems_System_Collections_Generic_IEnumerable_System_String__" data-uid="C1.Framework.SplitButtonElement.DropDownList.AddItems(System.Collections.Generic.IEnumerable{System.String})">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.AddItems.html#C1_Framework_SplitButtonElement_DropDownList_AddItems_System_Collections_Generic_IEnumerable_System_String__">AddItems(IEnumerable&lt;string&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Fills dropdown with items.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_ApplyStyle_C1_Win_Themes_BaseStyle_System_Int32_" data-uid="C1.Framework.SplitButtonElement.DropDownList.ApplyStyle(C1.Win.Themes.BaseStyle,System.Int32)">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.ApplyStyle.html#C1_Framework_SplitButtonElement_DropDownList_ApplyStyle_C1_Win_Themes_BaseStyle_System_Int32_">ApplyStyle(BaseStyle, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Applies the style to drop down form.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_ClearItems" data-uid="C1.Framework.SplitButtonElement.DropDownList.ClearItems">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.ClearItems.html#C1_Framework_SplitButtonElement_DropDownList_ClearItems">ClearItems()</a>
        </td>
        <td class="markdown level1 summary"><p>Clears the <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.Items.html#C1_Framework_SplitButtonElement_DropDownList_Items">Items</a> list.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_GetContentSize" data-uid="C1.Framework.SplitButtonElement.DropDownList.GetContentSize">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.GetContentSize.html#C1_Framework_SplitButtonElement_DropDownList_GetContentSize">GetContentSize()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the initial size for drop down form.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_GetOwnerBounds" data-uid="C1.Framework.SplitButtonElement.DropDownList.GetOwnerBounds">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.GetOwnerBounds.html#C1_Framework_SplitButtonElement_DropDownList_GetOwnerBounds">GetOwnerBounds()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns the bounds of the view in which the dropdown form belongs.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_ItemsContains_System_String_" data-uid="C1.Framework.SplitButtonElement.DropDownList.ItemsContains(System.String)">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.ItemsContains.html#C1_Framework_SplitButtonElement_DropDownList_ItemsContains_System_String_">ItemsContains(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether there is a child item with given value or not.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_OnOwnerDropDownOpened" data-uid="C1.Framework.SplitButtonElement.DropDownList.OnOwnerDropDownOpened">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.OnOwnerDropDownOpened.html#C1_Framework_SplitButtonElement_DropDownList_OnOwnerDropDownOpened">OnOwnerDropDownOpened()</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the DropDownOwner.DropDownOpened event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_OnRightToLeftChanged_System_EventArgs_" data-uid="C1.Framework.SplitButtonElement.DropDownList.OnRightToLeftChanged(System.EventArgs)">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.OnRightToLeftChanged.html#C1_Framework_SplitButtonElement_DropDownList_OnRightToLeftChanged_System_EventArgs_">OnRightToLeftChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_OnSelectedItemChanged" data-uid="C1.Framework.SplitButtonElement.DropDownList.OnSelectedItemChanged">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.OnSelectedItemChanged.html#C1_Framework_SplitButtonElement_DropDownList_OnSelectedItemChanged">OnSelectedItemChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Raises the <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.SelectedItemChanged.html">SelectedItemChanged</a> event.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_SetSelectedItem_System_String_" data-uid="C1.Framework.SplitButtonElement.DropDownList.SetSelectedItem(System.String)">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.SetSelectedItem.html#C1_Framework_SplitButtonElement_DropDownList_SetSelectedItem_System_String_">SetSelectedItem(string)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets item with defined value as <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.SelectedItem.html#C1_Framework_SplitButtonElement_DropDownList_SelectedItem">SelectedItem</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_UpdateLayout" data-uid="C1.Framework.SplitButtonElement.DropDownList.UpdateLayout">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.UpdateLayout.html#C1_Framework_SplitButtonElement_DropDownList_UpdateLayout">UpdateLayout()</a>
        </td>
        <td class="markdown level1 summary"><p>Updates dropdown size to fit all items.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_SplitButtonElement_DropDownList_SelectedItemChanged" data-uid="C1.Framework.SplitButtonElement.DropDownList.SelectedItemChanged">
          <a class="xref" href="C1.Framework.SplitButtonElement.DropDownList.SelectedItemChanged.html">SelectedItemChanged</a>
        </td>
        <td class="markdown level1 summary"><p>Event raised when selected item changed.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
