# GrapeCity.Documents.Excel.Forms.IOptionButton

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_Forms_IOptionButton" data-uid="GrapeCity.Documents.Excel.Forms.IOptionButton" class="text-break">IOptionButton Interface
</h1>
  <div class="markdown level0 summary"><p>The option button control.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.Forms.html">GrapeCity.Documents.Excel.Forms</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_Forms_IOptionButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public interface IOptionButton : IControl&lt;IOptionButton&gt;, IContentControl, ICellLinkControl&lt;bool&gt;, ICellLinkControl, IControl</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Interface IOptionButton
    Inherits IControl(Of IOptionButton), IContentControl, ICellLinkControl(Of Boolean), ICellLinkControl, IControl</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_Documents_Excel_Forms_IOptionButton_GroupBox" data-uid="GrapeCity.Documents.Excel.Forms.IOptionButton.GroupBox">
          <a class="xref" href="GrapeCity.Documents.Excel.Forms.IOptionButton.GroupBox.html#GrapeCity_Documents_Excel_Forms_IOptionButton_GroupBox">GroupBox</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the first group box that contains the option button. <br>
Option buttons in the same group box are in the same group. <br>
If the value is <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> (<code>Nothing</code>),
the option button is in the default group. <br>
Option buttons in the same group will share the value of
<a class="xref" href="GrapeCity.Documents.Excel.Forms.ICellLinkControl.LinkedCell.html#GrapeCity_Documents_Excel_Forms_ICellLinkControl_LinkedCell">LinkedCell</a> property. <br>
They will also affect the selection state of other option buttons in the same group.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_Forms_IOptionButton_IsChecked" data-uid="GrapeCity.Documents.Excel.Forms.IOptionButton.IsChecked">
          <a class="xref" href="GrapeCity.Documents.Excel.Forms.IOptionButton.IsChecked.html#GrapeCity_Documents_Excel_Forms_IOptionButton_IsChecked">IsChecked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets whether the <a class="xref" href="GrapeCity.Documents.Excel.Forms.IOptionButton.html">IOptionButton</a> is checked.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
