# GrapeCity.Spreadsheet.UI.UIManager.Execute

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_UI_UIManager_Execute_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.Execute*">Execute Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_UI_UIManager_Execute_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.Execute*"></a>
<h4 id="GrapeCity_Spreadsheet_UI_UIManager_Execute_System_Object_System_Object_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.Execute(System.Object,System.Object)">Execute(object, object)</h4>
<div class="markdown level1 summary"><p>Execute an UI command.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">protected virtual void Execute(object sender, object data)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub Execute(sender As Object, data As Object)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">sender</span></td>
      <td><p>The sender that raise the command.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></td>
      <td><span class="parametername">data</span></td>
      <td><p>The contextual data.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
