# Worksheet Class

> Worksheet class in the TX Sheet Control .NET API: A handle bound to a worksheet ID and opaque document generation. Includes the syntax 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)
- **Inherits:** `TXTextControl.TXSheetControl.Server.DocumentObject`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > Worksheet Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/llms-full.txt

---

## On This Page

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

---

## In This Section

- [Worksheet.AddSparklinesAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/addsparklinesasync-method/llms.txt): Worksheet.AddSparklinesAsync method in the .NET API: Adds sparklines from A1 dataRange/locationRange options in one undoable sheet-scoped transaction.
- [Worksheet.Cell Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/cell-method/llms.txt): Worksheet.Cell method in the TX Sheet Control .NET API: Creates or updates a document-bound handle or queued operation. Includes the syntax and a C# example.
- [Worksheet.Charts Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/charts-property/llms.txt): Worksheet.Charts property in the TX Sheet Control .NET API, with its syntax, its type ChartCollection, a C# example and remarks on awaiting tasks and handles.
- [Worksheet.ClearSparklinesAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/clearsparklinesasync-method/llms.txt): Worksheet.ClearSparklinesAsync method in the TX Sheet Control .NET API: Removes sparklines in an A1 destination range, or all when omitted.
- [Worksheet.Columns Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/columns-property/llms.txt): Worksheet.Columns property in the TX Sheet Control .NET API, with its syntax, its type DimensionCollection and a C# example.
- [Worksheet.Drawings Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/drawings-property/llms.txt): Worksheet.Drawings property in the TX Sheet Control .NET API, with its syntax, its type DrawingCollection and a C# example.
- [Worksheet.DuplicateAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/duplicateasync-method/llms.txt): Worksheet.DuplicateAsync method in the TX Sheet Control .NET API: Duplicates cells, formatting and objects with distinct table names and identities.
- [Worksheet.GetNameAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/getnameasync-method/llms.txt): Worksheet.GetNameAsync method in the TX Sheet Control .NET API: Performs an operation on this document without activating another worksheet.
- [Worksheet.GetSparklineGroupsAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/getsparklinegroupsasync-method/llms.txt): Worksheet.GetSparklineGroupsAsync method in the TX Sheet Control .NET API: Reads detached sparkline group definitions on this sheet without activating it.
- [Worksheet.GetTabColorAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/gettabcolorasync-method/llms.txt): Worksheet.GetTabColorAsync method in the TX Sheet Control .NET API: Reads the persisted sRGB tab color, or null for the default tab appearance.
- [Worksheet.Id Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/id-property/llms.txt): Worksheet.Id property in the TX Sheet Control .NET API, with its syntax, its type string, a C# example and remarks on awaiting tasks and handles.
- [Worksheet.MoveAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/moveasync-method/llms.txt): Worksheet.MoveAsync method in the TX Sheet Control .NET API: Moves this worksheet within its group; index is zero-based.
- [Worksheet.Names Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/names-property/llms.txt): Worksheet.Names property in the TX Sheet Control .NET API, with its syntax, its type NameCollection, a C# example and remarks on awaiting tasks and handles.
- [Worksheet.PivotTables Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/pivottables-property/llms.txt): Worksheet.PivotTables property in the TX Sheet Control .NET API: The destination-worksheet-scoped collection of operational pivot reports.
- [Worksheet.Print Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/print-property/llms.txt): Worksheet.Print property in the TX Sheet Control .NET API, with its syntax, its type SheetPrint, a C# example and remarks on awaiting tasks and handles.
- [Worksheet.Protection Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/protection-property/llms.txt): Worksheet.Protection property in the TX Sheet Control .NET API, with its syntax, its type Protection, a C# example and remarks on awaiting tasks and handles.
- [Worksheet.Range Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/range-method/llms.txt): Worksheet.Range method in the TX Sheet Control .NET API: Creates or updates a document-bound handle or queued operation.
- [Worksheet.RemoveAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/removeasync-method/llms.txt): Worksheet.RemoveAsync method in the TX Sheet Control .NET API: Performs an operation on this document without activating another worksheet.
- [Worksheet.RenameAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/renameasync-method/llms.txt): Worksheet.RenameAsync method in the TX Sheet Control .NET API: Performs an operation on this document without activating another worksheet.
- [Worksheet.Rows Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/rows-property/llms.txt): Worksheet.Rows property in the TX Sheet Control .NET API, with its syntax, its type DimensionCollection and a C# example.
- [Worksheet.SetTabColorAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/settabcolorasync-method/llms.txt): Worksheet.SetTabColorAsync method in the .NET API: Sets the worksheet tab color in one undoable operation without changing cell or print formatting.
- [Worksheet.Tables Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/tables-property/llms.txt): Worksheet.Tables property in the TX Sheet Control .NET API, with its syntax, its type TableCollection, a C# example and remarks on awaiting tasks and handles.
- [Worksheet.UpdateSparklineGroupAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/updatesparklinegroupasync-method/llms.txt): Worksheet.UpdateSparklineGroupAsync method in the TX Sheet Control .NET API: Updates a group by stable ID. Includes the syntax and a C# example.
- [Worksheet.Validation Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/validation-property/llms.txt): Worksheet.Validation property in the TX Sheet Control .NET API, with its syntax, its type Validation, a C# example and remarks on awaiting tasks and handles.
- [Worksheet.Viewport Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/viewport-property/llms.txt): Worksheet.Viewport property in the TX Sheet Control .NET API, with its syntax, its type SheetView, a C# example and remarks on awaiting tasks and handles.

---

## Nearby

- **Previous:** [WorkbookEvents.ValidationFailed Event](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/workbookevents/validationfailed-event/llms.txt)
- **Next:** [Worksheet.AddSparklinesAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/worksheet/addsparklinesasync-method/llms.txt)
