# GrapeCity.Spreadsheet.FormControls.IListControl

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_FormControls_IListControl" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl" class="text-break">IListControl Interface
</h1>
  <div class="markdown level0 summary"><p>Provides a common implementation of members for the <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListBox.html">IListBox</a> and <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IDropDown.html">IDropDown</a> classes.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.FormControls.html">GrapeCity.Spreadsheet.FormControls</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_FormControls_IListControl_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IListControl : IFormControl, IDrawingObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IListControl
    Inherits IFormControl, IDrawingObject</code></pre>
  </div>
  <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="GrapeCity_Spreadsheet_FormControls_IListControl_LinkedCell" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.LinkedCell">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.LinkedCell.html#GrapeCity_Spreadsheet_FormControls_IListControl_LinkedCell">LinkedCell</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the worksheet range linked to the control's value</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListControl_ListCount" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.ListCount">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.ListCount.html#GrapeCity_Spreadsheet_FormControls_IListControl_ListCount">ListCount</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the number of entries in a list box or combo box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListControl_ListFillRange" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.ListFillRange">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.ListFillRange.html#GrapeCity_Spreadsheet_FormControls_IListControl_ListFillRange">ListFillRange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the worksheet range used to fill the specified list box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListControl_ListIndex" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.ListIndex">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.ListIndex.html#GrapeCity_Spreadsheet_FormControls_IListControl_ListIndex">ListIndex</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the index number (base 0) of the currently selected item in a list box or combo box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListControl_Value" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.Value">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.Value.html#GrapeCity_Spreadsheet_FormControls_IListControl_Value">Value</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets an integer value that represents the value of the specified 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="GrapeCity_Spreadsheet_FormControls_IListControl_AddItem_System_String_System_Int32_" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.AddItem(System.String,System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.AddItem.html#GrapeCity_Spreadsheet_FormControls_IListControl_AddItem_System_String_System_Int32_">AddItem(string, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Adds an item to a list box or a combo box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListControl_List_System_Int32_System_String_" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.List(System.Int32,System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.List.html#GrapeCity_Spreadsheet_FormControls_IListControl_List_System_Int32_System_String_">List(int, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the single text entry in the specified list box or combo box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListControl_List_System_String___" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.List(System.String[])">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.List.html#GrapeCity_Spreadsheet_FormControls_IListControl_List_System_String___">List(string[])</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text entries in the specified list box or combo box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListControl_RemoveAllItems" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.RemoveAllItems">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.RemoveAllItems.html#GrapeCity_Spreadsheet_FormControls_IListControl_RemoveAllItems">RemoveAllItems()</a>
        </td>
        <td class="markdown level1 summary"><p>Removes all entries from a list box or combo box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListControl_RemoveItem_System_Int32_System_Int32_" data-uid="GrapeCity.Spreadsheet.FormControls.IListControl.RemoveItem(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListControl.RemoveItem.html#GrapeCity_Spreadsheet_FormControls_IListControl_RemoveItem_System_Int32_System_Int32_">RemoveItem(int, int)</a>
        </td>
        <td class="markdown level1 summary"><p>Removes one or more items from a list box or combo box.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
