# FarPoint.Web.Spread.Editor.ListBoxEditor.GetEditorControl

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="FarPoint_Web_Spread_Editor_ListBoxEditor_GetEditorControl_" data-uid="FarPoint.Web.Spread.Editor.ListBoxEditor.GetEditorControl*">GetEditorControl Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="FarPoint_Web_Spread_Editor_ListBoxEditor_GetEditorControl_" data-uid="FarPoint.Web.Spread.Editor.ListBoxEditor.GetEditorControl*"></a>
<h4 id="FarPoint_Web_Spread_Editor_ListBoxEditor_GetEditorControl_System_String_System_Web_UI_WebControls_TableCell_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_" data-uid="FarPoint.Web.Spread.Editor.ListBoxEditor.GetEditorControl(System.String,System.Web.UI.WebControls.TableCell,FarPoint.Web.Spread.Appearance,FarPoint.Web.Spread.Inset,System.Object,System.Boolean)">GetEditorControl(string, TableCell, Appearance, Inset, object, bool)</h4>
<div class="markdown level1 summary"><p>Creates a list box editor control.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public override Control GetEditorControl(string id, TableCell parent, Appearance style, Inset margin, object value, bool upperLevel)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overrides Function GetEditorControl(id As String, parent As TableCell, style As Appearance, margin As Inset, value As Object, upperLevel As Boolean) As Control</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">id</span></td>
      <td><p>Unique identifier for the editor control</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.webcontrols.tablecell">TableCell</a></td>
      <td><span class="parametername">parent</span></td>
      <td><p>Parent control of the editor control</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.Appearance.html">Appearance</a></td>
      <td><span class="parametername">style</span></td>
      <td><p>Appearance settings of the cell for the editor control</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="FarPoint.Web.Spread.Inset.html">Inset</a></td>
      <td><span class="parametername">margin</span></td>
      <td><p>Margin settings for the editor control</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">value</span></td>
      <td><p>Value to set in the editor control</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></td>
      <td><span class="parametername">upperLevel</span></td>
      <td><p>Whether to render to a up-level browser</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.web.ui.control">Control</a></td>
      <td></td>
    </tr>
  </tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><a class="xref" href="FarPoint.Web.Spread.Editor.BaseEditor.GetEditorControl.html#FarPoint_Web_Spread_Editor_BaseEditor_GetEditorControl_System_String_System_Web_UI_WebControls_TableCell_FarPoint_Web_Spread_Appearance_FarPoint_Web_Spread_Inset_System_Object_System_Boolean_">BaseEditor.GetEditorControl(string, TableCell, Appearance, Inset, object, bool)</a></div>
</div>
