---
title: "GridWorksheet.SetAllCellsReadonly"
url: "https://reference.aspose.com/cells/net/aspose.cells.gridweb.data/gridworksheet/setallcellsreadonly/"
product: "Aspose.Cells for .NET API Reference"
description: "GridWorksheet method. Makes all cells readonly.this is extended attribute notice this attribute can not keep in actual cellif you want to keep protect please use setProtect"
---

## GridWorksheet.SetAllCellsReadonly method

Makes all cells readonly.this is extended attribute notice this attribute can not keep in actual cell,if you want to keep protect please use setProtect

```csharp
public void SetAllCellsReadonly()
```

### See Also

* class [GridWorksheet](../)
* namespace [Aspose.Cells.GridWeb.Data](../../../aspose.cells.gridweb.data/)
* assembly [Aspose.Cells.GridWeb](../../../)


