# GrapeCity.Spreadsheet.WorkbookLocks

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="GrapeCity_Spreadsheet_WorkbookLocks" data-uid="GrapeCity.Spreadsheet.WorkbookLocks" class="text-break">WorkbookLocks Enum
</h1>
  <div class="markdown level0 summary"><p>Represent protected data of the workbook.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Spreadsheet.html">GrapeCity.Spreadsheet</a></h6>
  <h6><strong>Assembly</strong>: GrapeCity.Spreadsheet.dll</h6>
  <h5 id="GrapeCity_Spreadsheet_WorkbookLocks_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum WorkbookLocks : byte</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum WorkbookLocks As Byte</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_WorkbookLocks_All">All</td>
        <td><p>Protect all data.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WorkbookLocks_None">None</td>
        <td><p>Protect nothing.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WorkbookLocks_Structure">Structure</td>
        <td><p>Protect the structure of the workbook (the relative position of the sheets).</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_WorkbookLocks_Windows">Windows</td>
        <td><p>Protect the workbook windows.</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
