# GrapeCity.Documents.Excel.Workbook.SheetDeactivate

## Content

<div class="doc-site-dotnet-api-container">




<h1 id="GrapeCity_Documents_Excel_Workbook_SheetDeactivate" data-uid="GrapeCity.Documents.Excel.Workbook.SheetDeactivate" class="text-break">SheetDeactivate Event
</h1>
<div class="markdown level0 summary"><p>Occurs when a sheet is deactivated.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="implements">
  <h5>Implements</h5>
  <div><a class="xref" href="GrapeCity.Documents.Excel.IWorkbook.SheetDeactivate.html">SheetDeactivate</a></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_Workbook_SheetDeactivate_syntax">Syntax</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public event EventHandler&lt;SheetEventArgs&gt; SheetDeactivate</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Event SheetDeactivate As EventHandler(Of SheetEventArgs)</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.eventhandler-1">EventHandler</a>&lt;<a class="xref" href="GrapeCity.Documents.Excel.SheetEventArgs.html">SheetEventArgs</a>&gt;</td>
      <td>Occurs when a sheet is deactivated.</td>
    </tr>
  </tbody>
</table>
</div>
