# GrapeCity.Spreadsheet.FormControls.IFormControl

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_FormControls_IFormControl" data-uid="GrapeCity.Spreadsheet.FormControls.IFormControl" class="text-break">IFormControl Interface
</h1>
  <div class="markdown level0 summary"><p>Represents a form 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_IFormControl_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IFormControl : IDrawingObject</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IFormControl
    Inherits 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_IFormControl_Display3DShading" data-uid="GrapeCity.Spreadsheet.FormControls.IFormControl.Display3DShading">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IFormControl.Display3DShading.html#GrapeCity_Spreadsheet_FormControls_IFormControl_Display3DShading">Display3DShading</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the control display with 3D-shading effect.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IFormControl_Enabled" data-uid="GrapeCity.Spreadsheet.FormControls.IFormControl.Enabled">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IFormControl.Enabled.html#GrapeCity_Spreadsheet_FormControls_IFormControl_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the control is enabled.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IFormControl_Index" data-uid="GrapeCity.Spreadsheet.FormControls.IFormControl.Index">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IFormControl.Index.html#GrapeCity_Spreadsheet_FormControls_IFormControl_Index">Index</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the index of the control in the collection.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IFormControl_LockedText" data-uid="GrapeCity.Spreadsheet.FormControls.IFormControl.LockedText">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IFormControl.LockedText.html#GrapeCity_Spreadsheet_FormControls_IFormControl_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_FormControls_IFormControl_OnClick" data-uid="GrapeCity.Spreadsheet.FormControls.IFormControl.OnClick">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IFormControl.OnClick.html#GrapeCity_Spreadsheet_FormControls_IFormControl_OnClick">OnClick</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the action associated with this control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IFormControl_Shape" data-uid="GrapeCity.Spreadsheet.FormControls.IFormControl.Shape">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IFormControl.Shape.html#GrapeCity_Spreadsheet_FormControls_IFormControl_Shape">Shape</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the <a class="xref" href="GrapeCity.Spreadsheet.Drawing.IShape.html">IShape</a> container of this control.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_FormControls_IFormControl_Text" data-uid="GrapeCity.Spreadsheet.FormControls.IFormControl.Text">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IFormControl.Text.html#GrapeCity_Spreadsheet_FormControls_IFormControl_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the text associated with this control.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="events">Events
</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_IFormControl_Click" data-uid="GrapeCity.Spreadsheet.FormControls.IFormControl.Click">
          <a class="xref" href="GrapeCity.Spreadsheet.FormControls.IFormControl.Click.html">Click</a>
        </td>
        <td class="markdown level1 summary"><p>Occurs when the user clicks the control.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
