# GrapeCity.Spreadsheet.UI.UIManager.OnShapeChanged

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Spreadsheet_UI_UIManager_OnShapeChanged_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.OnShapeChanged*">OnShapeChanged Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Spreadsheet_UI_UIManager_OnShapeChanged_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.OnShapeChanged*"></a>
<h4 id="GrapeCity_Spreadsheet_UI_UIManager_OnShapeChanged_GrapeCity_Spreadsheet_IWorksheet_GrapeCity_Spreadsheet_Drawing_ShapeEventArgs_" data-uid="GrapeCity.Spreadsheet.UI.UIManager.OnShapeChanged(GrapeCity.Spreadsheet.IWorksheet,GrapeCity.Spreadsheet.Drawing.ShapeEventArgs)">OnShapeChanged(IWorksheet, ShapeEventArgs)</h4>
<div class="markdown level1 summary"><p>Occurs when the shape is changed.</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 OnShapeChanged(IWorksheet worksheet, ShapeEventArgs e)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Protected Overridable Sub OnShapeChanged(worksheet As IWorksheet, e As ShapeEventArgs)</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="GrapeCity.Spreadsheet.IWorksheet.html">IWorksheet</a></td>
      <td><span class="parametername">worksheet</span></td>
      <td><p>The worksheet contains the shape.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.html">ShapeEventArgs</a></td>
      <td><span class="parametername">e</span></td>
      <td><p>The <a class="xref" href="GrapeCity.Spreadsheet.Drawing.ShapeEventArgs.html">ShapeEventArgs</a> instance containing the event data.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
