# GrapeCity.Spreadsheet.Drawing.IControlFormat

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_Drawing_IControlFormat" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat" class="text-break">IControlFormat Interface
</h1>
  <div class="markdown level0 summary"><p>Represents all control properties.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.Drawing.html">GrapeCity.Spreadsheet.Drawing</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_Drawing_IControlFormat_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IControlFormat</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IControlFormat</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_Drawing_IControlFormat_DropDownLines" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.DropDownLines">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.DropDownLines.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_DropDownLines">DropDownLines</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the number of list lines displayed in the drop-down portion of a combo box.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IControlFormat_Enabled" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.Enabled">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.Enabled.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a boolean value indicating whether the object is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IControlFormat_LargeChange" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.LargeChange">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.LargeChange.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_LargeChange">LargeChange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount that the scroll box increments or decrements for a page scroll (when the user clicks in the scroll bar body region).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IControlFormat_LinkedCell" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.LinkedCell">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.LinkedCell.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_LinkedCell">LinkedCell</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the worksheet range linked to the control's value. If you place a value in the cell, the control takes this value.
Likewise, if you change the value of the control, that value is also placed in the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IControlFormat_ListCount" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.ListCount">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.ListCount.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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_Drawing_IControlFormat_ListFillRange" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.ListFillRange">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.ListFillRange.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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_Drawing_IControlFormat_ListIndex" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.ListIndex">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.ListIndex.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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_Drawing_IControlFormat_LockedText" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.LockedText">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.LockedText.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_LockedText">LockedText</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the text in the specified object will be locked to prevent changes when the workbook is protected.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IControlFormat_Max" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.Max">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.Max.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_Max">Max</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the maximum value of a scroll bar or spinner range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IControlFormat_Min" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.Min">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.Min.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_Min">Min</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the minimum value of a scroll bar or spinner range.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IControlFormat_MultiSelect" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.MultiSelect">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.MultiSelect.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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_Drawing_IControlFormat_PrintObject" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.PrintObject">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.PrintObject.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_PrintObject">PrintObject</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a boolean value indicating whether the object will be printed when the document is printed.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IControlFormat_SmallChange" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.SmallChange">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.SmallChange.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_SmallChange">SmallChange</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the amount that the scroll bar or spinner is incremented or decremented for a line scroll (when the user chooses an arrow).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_Drawing_IControlFormat_Value" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.Value">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.Value.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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_Drawing_IControlFormat_AddItem_System_String_System_Int32_" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.AddItem(System.String,System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.AddItem.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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_Drawing_IControlFormat_List_System_Int32_System_String_" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.List(System.Int32,System.String)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.List.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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_Drawing_IControlFormat_List_System_String___" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.List(System.String[])">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.List.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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_Drawing_IControlFormat_RemoveAllItems" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.RemoveAllItems">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.RemoveAllItems.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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_Drawing_IControlFormat_RemoveItem_System_Int32_System_Int32_" data-uid="GrapeCity.Spreadsheet.Drawing.IControlFormat.RemoveItem(System.Int32,System.Int32)">
          <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IControlFormat.RemoveItem.html#GrapeCity_Spreadsheet_Drawing_IControlFormat_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>
