# FarPoint.Web.Spread.Editor.ComboBoxEditor.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_Editor_ComboBoxEditor__ctor_" data-uid="FarPoint.Web.Spread.Editor.ComboBoxEditor.#ctor*">ComboBoxEditor Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_Editor_ComboBoxEditor__ctor_" data-uid="FarPoint.Web.Spread.Editor.ComboBoxEditor.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_Editor_ComboBoxEditor__ctor_System_String___" data-uid="FarPoint.Web.Spread.Editor.ComboBoxEditor.#ctor(System.String[])">ComboBoxEditor(string[])</h4>
<div class="markdown level1 summary"><p>Initializes an instance of the ComboBoxEditor class, with the specified
items in the combo box list.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ComboBoxEditor(string[] items)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(items As String())</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</td>
      <td><span class="parametername">items</span></td>
      <td><p>Items in the combo box list, specified as an array</p>
</td>
    </tr>
  </tbody>
</table>


<a id="FarPoint_Web_Spread_Editor_ComboBoxEditor__ctor_" data-uid="FarPoint.Web.Spread.Editor.ComboBoxEditor.#ctor*"></a>
<h4 id="FarPoint_Web_Spread_Editor_ComboBoxEditor__ctor_System_String___System_String___" data-uid="FarPoint.Web.Spread.Editor.ComboBoxEditor.#ctor(System.String[],System.String[])">ComboBoxEditor(string[], string[])</h4>
<div class="markdown level1 summary"><p>Initializes an instance of the ComboBoxEditor class, with the specified
items in the combo box list and with the specified values for the items.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ComboBoxEditor(string[] items, string[] values)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(items As String(), values As String())</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</td>
      <td><span class="parametername">items</span></td>
      <td><p>Items in the combo box list, specified as an array</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a>[]</td>
      <td><span class="parametername">values</span></td>
      <td><p>Values for the items in the combo box list, specified as an array</p>
</td>
    </tr>
  </tbody>
</table>
</div>
