# C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox" class="text-break">C1EditorToolStripComboBox Class
</h1>
  <div class="markdown level0 summary"><p>Represents a toolstrip combo box which performs a command.</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.toolstripitem">ToolStripItem</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripcontrolhost">ToolStripControlHost</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripcombobox">ToolStripComboBox</a></div>
    <div class="level6"><span class="xref">C1EditorToolStripComboBox</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.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.C1Editor.ToolStrips.html">C1.Win.C1Editor.ToolStrips</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Editor.4.8.dll</h6>
  <h5 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class C1EditorToolStripComboBox : ToolStripComboBox, IDropTarget, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class C1EditorToolStripComboBox
    Inherits ToolStripComboBox
    Implements IDropTarget, IComponent, IDisposable</code></pre>
  </div>
  <h5 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>Use this class to add a <a class="xref" href="C1.Win.C1Editor.C1Editor.html">C1Editor</a>-related ComboBox to a ToolStrip.</p>
</div>
  <h5 id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_examples"><strong>Examples</strong></h5>
  <p>The following code example demonstrates how to create a <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.html">C1EditorToolStripComboBox</a> and add it to a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstrip">ToolStrip</a>.</p>
<pre><code class="lang-csharp">C1EditorToolStripComboBox comboBox = new C1EditorToolStripComboBox();
comboBox.Command = CommandComboBox.Style;
comboBox.Editor = c1Editor1;
toolStrip1.Items.Add(comboBox);</code></pre>

  <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_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox__ctor" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.#ctor">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.-ctor.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox__ctor">C1EditorToolStripComboBox()</a>
        </td>
        <td class="markdown level1 summary"></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_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_Command" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.Command">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.Command.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_Command">Command</a>
        </td>
        <td class="markdown level1 summary"><p>The command.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_Editor" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.Editor">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.Editor.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_Editor">Editor</a>
        </td>
        <td class="markdown level1 summary"><p>The editor.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_Items" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.Items">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.Items.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_Items">Items</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a collection of the items contained in this System.Windows.Forms.ToolStripComboBox.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_Text" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.Text">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.Text.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text to be displayed on the hosted control.</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_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnCommandChanged" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnCommandChanged">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnCommandChanged.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnCommandChanged">OnCommandChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when command is changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnEditorChanged" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnEditorChanged">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnEditorChanged.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnEditorChanged">OnEditorChanged()</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the editor is changed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnEditorChanging" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnEditorChanging">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnEditorChanging.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnEditorChanging">OnEditorChanging()</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the editor is changing.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnKeyDown_System_Windows_Forms_KeyEventArgs_" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnKeyDown(System.Windows.Forms.KeyEventArgs)">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnKeyDown.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnKeyDown_System_Windows_Forms_KeyEventArgs_">OnKeyDown(KeyEventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides OnKeyDown.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnLostFocus_System_EventArgs_" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnLostFocus(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnLostFocus.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnLostFocus_System_EventArgs_">OnLostFocus(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides OnLostFocus.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnSelectedIndexChanged_System_EventArgs_" data-uid="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnSelectedIndexChanged(System.EventArgs)">
          <a class="xref" href="C1.Win.C1Editor.ToolStrips.C1EditorToolStripComboBox.OnSelectedIndexChanged.html#C1_Win_C1Editor_ToolStrips_C1EditorToolStripComboBox_OnSelectedIndexChanged_System_EventArgs_">OnSelectedIndexChanged(EventArgs)</a>
        </td>
        <td class="markdown level1 summary"><p>Overrides OnSelectedIndexChanged.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
