# GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement" class="text-break">ButtonEditElement Class
</h1>
  <div class="markdown level0 summary"><p>Represents a edit element that displays a button-like user interface (UI) which
can be used in the <a class="xref" href="../GrapeCity.Wpf.SpreadSheet/GrapeCity.Wpf.SpreadSheet.GcSpreadSheet.html">GcSpreadSheet</a> control.</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="https://learn.microsoft.com/dotnet/api/system.windows.media.visual">Visual</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.uielement">UIElement</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.frameworkelement">FrameworkElement</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.control">Control</a></div>
    <div class="level5"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.contentcontrol">ContentControl</a></div>
    <div class="level6"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.primitives.buttonbase">ButtonBase</a></div>
    <div class="level7"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.controls.button">Button</a></div>
    <div class="level8"><span class="xref">ButtonEditElement</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.media.animation.ianimatable">IAnimatable</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iframeworkinputelement">IFrameworkInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.iinputelement">IInputElement</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.isupportinitialize">ISupportInitialize</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iqueryambient">IQueryAmbient</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.markup.iaddchild">IAddChild</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.input.icommandsource">ICommandSource</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.html">GrapeCity.Wpf.SpreadSheet.CellType.Editors</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Wpf.SpreadSheet.CellType.dll</h6>
  <h5 id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class ButtonEditElement : Button, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class ButtonEditElement
    Inherits Button
    Implements IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IQueryAmbient, IAddChild, ICommandSource</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_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement__ctor" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.#ctor">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.-ctor.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement__ctor">ButtonEditElement()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.html">ButtonEditElement</a> class.</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_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_CustomCommandParameter" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.CustomCommandParameter">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.CustomCommandParameter.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_CustomCommandParameter">CustomCommandParameter</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the parameter to pass to the command.</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_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_MeasureOverride_System_Windows_Size_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.MeasureOverride(System.Windows.Size)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.MeasureOverride.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_MeasureOverride_System_Windows_Size_">MeasureOverride(Size)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_OnClick" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.OnClick">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.OnClick.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_OnClick">OnClick()</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_OnMouseUp_System_Windows_Input_MouseButtonEventArgs_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.OnMouseUp(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.OnMouseUp.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_OnMouseUp_System_Windows_Input_MouseButtonEventArgs_">OnMouseUp(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_OnPreviewMouseDown_System_Windows_Input_MouseButtonEventArgs_" data-uid="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.OnPreviewMouseDown(System.Windows.Input.MouseButtonEventArgs)">
          <a class="xref" href="GrapeCity.Wpf.SpreadSheet.CellType.Editors.ButtonEditElement.OnPreviewMouseDown.html#GrapeCity_Wpf_SpreadSheet_CellType_Editors_ButtonEditElement_OnPreviewMouseDown_System_Windows_Input_MouseButtonEventArgs_">OnPreviewMouseDown(MouseButtonEventArgs)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
