Sets or returns whether a cell will be locked in a protected worksheet.

<p> public boolean CellLocked{ get; set; }</p>
<p>Public Property CellLocked() As Boolean</p>

          //--- Get CellLocked
          bool locked = style.CellLocked;

          //--- Set CellLocked
          style.CellLocked = true;
        
          '--- Get CellLocked
          Dim locked As Boolean = style.CellLocked

          '--- Set CellLocked
          style.CellLocked = True