# GrapeCity.Spreadsheet.CellProtection

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="GrapeCity_Spreadsheet_CellProtection" data-uid="GrapeCity.Spreadsheet.CellProtection" class="text-break">CellProtection Struct
</h1>
  <div class="markdown level0 summary"><p>Represents the cell protection.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a>&lt;<a class="xref" href="GrapeCity.Spreadsheet.CellProtection.html">CellProtection</a>&gt;</div>
  </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_CellProtection_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct CellProtection : IEquatable&lt;CellProtection&gt;</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Structure CellProtection
    Implements IEquatable(Of CellProtection)</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>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_CellProtection_Empty" data-uid="GrapeCity.Spreadsheet.CellProtection.Empty">
          <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.Empty.html">Empty</a>
        </td>
        <td class="markdown level1 summary"><p>Represents an empty <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.html">CellProtection</a> value.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_CellProtection_FormulaHidden" data-uid="GrapeCity.Spreadsheet.CellProtection.FormulaHidden">
          <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.FormulaHidden.html#GrapeCity_Spreadsheet_CellProtection_FormulaHidden">FormulaHidden</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the cell formula is hidden.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_CellProtection_Locked" data-uid="GrapeCity.Spreadsheet.CellProtection.Locked">
          <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.Locked.html#GrapeCity_Spreadsheet_CellProtection_Locked">Locked</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets a value indicating whether the cell is locked.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Spreadsheet_CellProtection_Equals_GrapeCity_Spreadsheet_CellProtection_" data-uid="GrapeCity.Spreadsheet.CellProtection.Equals(GrapeCity.Spreadsheet.CellProtection)">
          <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.Equals.html#GrapeCity_Spreadsheet_CellProtection_Equals_GrapeCity_Spreadsheet_CellProtection_">Equals(CellProtection)</a>
        </td>
        <td class="markdown level1 summary"><p>Indicates whether the current object is equal to another object of the same type.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_CellProtection_Equals_System_Object_" data-uid="GrapeCity.Spreadsheet.CellProtection.Equals(System.Object)">
          <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.Equals.html#GrapeCity_Spreadsheet_CellProtection_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a> is equal to this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_CellProtection_GetHashCode" data-uid="GrapeCity.Spreadsheet.CellProtection.GetHashCode">
          <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.GetHashCode.html#GrapeCity_Spreadsheet_CellProtection_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a hash code for this instance.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_CellProtection_IsEmpty" data-uid="GrapeCity.Spreadsheet.CellProtection.IsEmpty">
          <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.IsEmpty.html#GrapeCity_Spreadsheet_CellProtection_IsEmpty">IsEmpty()</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether this <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.html">CellProtection</a> is empty.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_CellProtection_IsSet_GrapeCity_Spreadsheet_CellProtectionAttributes_" data-uid="GrapeCity.Spreadsheet.CellProtection.IsSet(GrapeCity.Spreadsheet.CellProtectionAttributes)">
          <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.IsSet.html#GrapeCity_Spreadsheet_CellProtection_IsSet_GrapeCity_Spreadsheet_CellProtectionAttributes_">IsSet(CellProtectionAttributes)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified property has been assigned value.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Spreadsheet_CellProtection_Reset_GrapeCity_Spreadsheet_CellProtectionAttributes_" data-uid="GrapeCity.Spreadsheet.CellProtection.Reset(GrapeCity.Spreadsheet.CellProtectionAttributes)">
          <a class="xref" href="GrapeCity.Spreadsheet.CellProtection.Reset.html#GrapeCity_Spreadsheet_CellProtection_Reset_GrapeCity_Spreadsheet_CellProtectionAttributes_">Reset(CellProtectionAttributes)</a>
        </td>
        <td class="markdown level1 summary"><p>Resets the specified property to unset state.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
