# ProtectionOptions Class

> ProtectionOptions class in the TX Sheet Control .NET API: Protected-sheet editing permissions. Covers 1 constructor and 16 properties and a C# example.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Class
- **Namespace:** `TXTextControl.TXSheetControl.Server`
- **Package:** `TXTextControl.TXSheetControl.Server` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Package:** `TXTextControl.TXSheetControl.Blazor` (assembly `TXTextControl.TXSheetControl.Api.dll`, from the private NuGet feed or the supplied NuGet folder)
- **Implements:** `System.IEquatable<TXTextControl.TXSheetControl.Server.ProtectionOptions>`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > ProtectionOptions Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/#syntax)
- [Members](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/#members)
- [Examples](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/#examples)
- [See Also](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/#see-also)

---

## In This Section

- [ProtectionOptions.AllowDeleteColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowdeletecolumns-property/llms.txt): ProtectionOptions.AllowDeleteColumns property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowDeleteRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowdeleterows-property/llms.txt): ProtectionOptions.AllowDeleteRows property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowEditObjects Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/alloweditobjects-property/llms.txt): ProtectionOptions.AllowEditObjects property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowEditScenarios Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/alloweditscenarios-property/llms.txt): ProtectionOptions.AllowEditScenarios property in the TX Sheet Control .NET API: Permission retained for native Excel scenario editing.
- [ProtectionOptions.AllowFilter Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowfilter-property/llms.txt): ProtectionOptions.AllowFilter property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowFormatCells Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowformatcells-property/llms.txt): ProtectionOptions.AllowFormatCells property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowFormatColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowformatcolumns-property/llms.txt): ProtectionOptions.AllowFormatColumns property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowFormatRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowformatrows-property/llms.txt): ProtectionOptions.AllowFormatRows property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowInsertColumns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowinsertcolumns-property/llms.txt): ProtectionOptions.AllowInsertColumns property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowInsertHyperlinks Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowinserthyperlinks-property/llms.txt): ProtectionOptions.AllowInsertHyperlinks property in the TX Sheet Control .NET API, with its type bool? and a C# example.
- [ProtectionOptions.AllowInsertRows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowinsertrows-property/llms.txt): ProtectionOptions.AllowInsertRows property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowSelectLockedCells Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowselectlockedcells-property/llms.txt): ProtectionOptions.AllowSelectLockedCells property in the TX Sheet Control .NET API, with its type bool? and a C# example.
- [ProtectionOptions.AllowSelectUnlockedCells Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowselectunlockedcells-property/llms.txt): ProtectionOptions.AllowSelectUnlockedCells property in the TX Sheet Control .NET API, with its type bool? and a C# example.
- [ProtectionOptions.AllowSort Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowsort-property/llms.txt): ProtectionOptions.AllowSort property in the TX Sheet Control .NET API, with its syntax, its type bool? and a C# example.
- [ProtectionOptions.AllowUsePivotTables Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/allowusepivottables-property/llms.txt): ProtectionOptions.AllowUsePivotTables property in the TX Sheet Control .NET API: Permission retained for native Excel PivotTable operations.
- [ProtectionOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/constructor/llms.txt): ProtectionOptions constructor in the TX Sheet Control .NET API, with its syntax, a C# example and remarks on awaiting tasks and handles.
- [ProtectionOptions.Password Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/password-property/llms.txt): ProtectionOptions.Password property in the TX Sheet Control .NET API, with its syntax, its type string? and a C# example.

---

## Nearby

- **Previous:** [Protection.UnprotectAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protection/unprotectasync-method/llms.txt)
- **Next:** [ProtectionOptions Constructor](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/protectionoptions/constructor/llms.txt)
