# GrapeCity.Spreadsheet.FormControls.IListBox

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_FormControls_IListBox" data-uid="GrapeCity.Spreadsheet.FormControls.IListBox" class="text-break">IListBox Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a list box control.</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_IListBox_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IListBox : IListControl, IFormControl, IDrawingObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IListBox
    Inherits IListControl, 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_IListBox_MultiSelect" data-uid="GrapeCity.Spreadsheet.FormControls.IListBox.MultiSelect">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListBox.MultiSelect.html#GrapeCity_Spreadsheet_FormControls_IListBox_MultiSelect">MultiSelect</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the selection mode of the specified list box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListBox_SelectedItems" data-uid="GrapeCity.Spreadsheet.FormControls.IListBox.SelectedItems">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListBox.SelectedItems.html#GrapeCity_Spreadsheet_FormControls_IListBox_SelectedItems">SelectedItems</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index list of selected items.</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_IListBox_GetSelected_System_Int32_" data-uid="GrapeCity.Spreadsheet.FormControls.IListBox.GetSelected(System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListBox.GetSelected.html#GrapeCity_Spreadsheet_FormControls_IListBox_GetSelected_System_Int32_">GetSelected(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the selection state of an item in a <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListBox.html">IListBox</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IListBox_SetSelected_System_Int32_System_Boolean_" data-uid="GrapeCity.Spreadsheet.FormControls.IListBox.SetSelected(System.Int32,System.Boolean)">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListBox.SetSelected.html#GrapeCity_Spreadsheet_FormControls_IListBox_SetSelected_System_Int32_System_Boolean_">SetSelected(int, bool)</a>
        </td>
        <td class="markdown level1 summary"><p>Sets the selection state of an item in a <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IListBox.html">IListBox</a>.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
