# GrapeCity.Documents.Excel.ButtonCellType

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Documents_Excel_ButtonCellType" data-uid="GrapeCity.Documents.Excel.ButtonCellType" class="text-break">ButtonCellType Class
</h1>
  <div class="markdown level0 summary"><p>Represents a button cell.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><a class="xref" href="GrapeCity.Documents.Excel.BaseCellType.html">BaseCellType</a></div>
    <div class="level2"><span class="xref">ButtonCellType</span></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Documents.Excel.html">GrapeCity.Documents.Excel</a></h6>
  <h6><strong>Assembly</strong>: DS.Documents.Excel.dll</h6>
  <h5 id="GrapeCity_Documents_Excel_ButtonCellType_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ButtonCellType : BaseCellType</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ButtonCellType
    Inherits BaseCellType</code></pre>
  </div>
  <h3 id="constructors">Constructors
</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_ButtonCellType__ctor" data-uid="GrapeCity.Documents.Excel.ButtonCellType.#ctor">
          <a class="xref" href="GrapeCity.Documents.Excel.ButtonCellType.-ctor.html#GrapeCity_Documents_Excel_ButtonCellType__ctor">ButtonCellType()</a>
        </td>
        <td class="markdown level1 summary"><p>Create a button cell type.</p>
</td>
      </tr>
    </tbody>
  </table>
  <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_ButtonCellType_ButtonBackColor" data-uid="GrapeCity.Documents.Excel.ButtonCellType.ButtonBackColor">
          <a class="xref" href="GrapeCity.Documents.Excel.ButtonCellType.ButtonBackColor.html#GrapeCity_Documents_Excel_ButtonCellType_ButtonBackColor">ButtonBackColor</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the button's background color.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ButtonCellType_MarginBottom" data-uid="GrapeCity.Documents.Excel.ButtonCellType.MarginBottom">
          <a class="xref" href="GrapeCity.Documents.Excel.ButtonCellType.MarginBottom.html#GrapeCity_Documents_Excel_ButtonCellType_MarginBottom">MarginBottom</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the button's bottom margin in pixels relative to the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ButtonCellType_MarginLeft" data-uid="GrapeCity.Documents.Excel.ButtonCellType.MarginLeft">
          <a class="xref" href="GrapeCity.Documents.Excel.ButtonCellType.MarginLeft.html#GrapeCity_Documents_Excel_ButtonCellType_MarginLeft">MarginLeft</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the button's left margin in pixels relative to the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ButtonCellType_MarginRight" data-uid="GrapeCity.Documents.Excel.ButtonCellType.MarginRight">
          <a class="xref" href="GrapeCity.Documents.Excel.ButtonCellType.MarginRight.html#GrapeCity_Documents_Excel_ButtonCellType_MarginRight">MarginRight</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the button's right margin in pixels relative to the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ButtonCellType_MarginTop" data-uid="GrapeCity.Documents.Excel.ButtonCellType.MarginTop">
          <a class="xref" href="GrapeCity.Documents.Excel.ButtonCellType.MarginTop.html#GrapeCity_Documents_Excel_ButtonCellType_MarginTop">MarginTop</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the button's top margin in pixels relative to the cell.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Documents_Excel_ButtonCellType_Text" data-uid="GrapeCity.Documents.Excel.ButtonCellType.Text">
          <a class="xref" href="GrapeCity.Documents.Excel.ButtonCellType.Text.html#GrapeCity_Documents_Excel_ButtonCellType_Text">Text</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the button's content.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
