# GrapeCity.Documents.Excel.IWorksheet.Protection

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Documents_Excel_IWorksheet_Protection_" data-uid="GrapeCity.Documents.Excel.IWorksheet.Protection*">Protection Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Documents_Excel_IWorksheet_Protection_" data-uid="GrapeCity.Documents.Excel.IWorksheet.Protection*"></a>
<h4 id="GrapeCity_Documents_Excel_IWorksheet_Protection" data-uid="GrapeCity.Documents.Excel.IWorksheet.Protection">Protection</h4>
<div class="markdown level1 summary"><p>Gets or sets the protection status of the worksheet.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">bool Protection { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Property Protection As Boolean</code></pre>
</div>
</div>
