# GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton" class="text-break">TouchToolBarButton Class
</h1>
  <div class="markdown level0 summary"><p>Represents a <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripbutton">ToolStripButton</a> for touch device.</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.marshalbyrefobject">MarshalByRefObject</a></div>
    <div class="level2"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.component">Component</a></div>
    <div class="level3"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripitem">ToolStripItem</a></div>
    <div class="level4"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripbutton">ToolStripButton</a></div>
    <div class="level5"><span class="xref">TouchToolBarButton</span></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.idroptarget">IDropTarget</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.componentmodel.icomponent">IComponent</a></div>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.html">GrapeCity.Win.Spread.InputMan.CellType</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Win.PluginInputMan.dll</h6>
  <h5 id="GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class TouchToolBarButton : ToolStripButton, IDropTarget, IComponent, IDisposable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class TouchToolBarButton
    Inherits ToolStripButton
    Implements IDropTarget, IComponent, IDisposable</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_Win_Spread_InputMan_CellType_TouchToolBarButton__ctor" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.#ctor">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton__ctor">TouchToolBarButton()</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.html">TouchToolBarButton</a>.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton__ctor_GrapeCity_Win_Spread_InputMan_CellType_ITouchBarAction_System_String_System_Drawing_Image_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.#ctor(GrapeCity.Win.Spread.InputMan.CellType.ITouchBarAction,System.String,System.Drawing.Image)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton__ctor_GrapeCity_Win_Spread_InputMan_CellType_ITouchBarAction_System_String_System_Drawing_Image_">TouchToolBarButton(ITouchBarAction, string, Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.html">TouchToolBarButton</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton__ctor_System_String_System_Drawing_Image_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.#ctor(System.String,System.Drawing.Image)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.-ctor.html#GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton__ctor_System_String_System_Drawing_Image_">TouchToolBarButton(string, Image)</a>
        </td>
        <td class="markdown level1 summary"><p>Create an instance of <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.html">TouchToolBarButton</a>.</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_Win_Spread_InputMan_CellType_TouchToolBarButton_Action" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.Action">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.Action.html#GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton_Action">Action</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the action which will be executed by the click.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton_Enabled" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.Enabled">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.Enabled.html#GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton_Enabled">Enabled</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the parent control of the <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.windows.forms.toolstripitem">ToolStripItem</a> is enabled.</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_Win_Spread_InputMan_CellType_TouchToolBarButton_GetPreferredSize_System_Drawing_Size_" data-uid="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.GetPreferredSize(System.Drawing.Size)">
          <a class="xref" href="GrapeCity.Win.Spread.InputMan.CellType.TouchToolBarButton.GetPreferredSize.html#GrapeCity_Win_Spread_InputMan_CellType_TouchToolBarButton_GetPreferredSize_System_Drawing_Size_">GetPreferredSize(Size)</a>
        </td>
        <td class="markdown level1 summary"><p>Retrieves the size of a rectangular area into which a System.Windows.Forms.ToolStripButton can be fitted.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
