# Cell Class

> Cell class in the TX Sheet Control .NET API: A worksheet-bound cell handle separating literal text, formulas, values, formatting and pictures.

- **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` › `TXTextControl.TXSheetControl.Server.Range`
- **Path:** TX Sheet Control > API Reference > .NET API > TXTextControl.TXSheetControl.Server > Cell Class
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/llms-full.txt

---

## On This Page

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

---

## In This Section

- [Cell.Comments Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/comments-property/llms.txt): Cell.Comments property in the TX Sheet Control .NET API, with its syntax, its type Comments, a C# example and remarks on awaiting tasks and handles.
- [Cell.FormatTextAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/formattextasync-method/llms.txt): Cell.FormatTextAsync method in the TX Sheet Control .NET API: Zero-based UTF-16 string offsets; applies only to literal text.
- [Cell.GetBarcodeAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getbarcodeasync-method/llms.txt): Cell.GetBarcodeAsync method in the TX Sheet Control .NET API: Reads detached settings, or null when the cell has no barcode.
- [Cell.GetCellTypeAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getcelltypeasync-method/llms.txt): Cell.GetCellTypeAsync method in the TX Sheet Control .NET API: Reads the detached interactive cell configuration. Includes the syntax and a C# example.
- [Cell.GetDisplayStyleAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getdisplaystyleasync-method/llms.txt): Cell.GetDisplayStyleAsync method in the TX Sheet Control .NET API: Performs an operation on this document without activating another worksheet.
- [Cell.GetDisplayTextAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getdisplaytextasync-method/llms.txt): Cell.GetDisplayTextAsync method in the TX Sheet Control .NET API: Reads visible cell text using the server document's locale and number format.
- [Cell.GetFormulaAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getformulaasync-method/llms.txt): Cell.GetFormulaAsync method in the TX Sheet Control .NET API: Performs an operation on this document without activating another worksheet.
- [Cell.GetHyperlinkAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/gethyperlinkasync-method/llms.txt): Cell.GetHyperlinkAsync method in the TX Sheet Control .NET API: Reads the detached safe hyperlink target and optional display metadata.
- [Cell.GetInputAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getinputasync-method/llms.txt): Cell.GetInputAsync method in the TX Sheet Control .NET API: Reads the entered cell content independently of number formatting and calculation.
- [Cell.GetNoteAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getnoteasync-method/llms.txt): Cell.GetNoteAsync method in the TX Sheet Control .NET API: Reads the detached legacy note, or null when absent. Includes the syntax and a C# example.
- [Cell.GetPictureAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getpictureasync-method/llms.txt): Cell.GetPictureAsync method in the TX Sheet Control .NET API: Performs an operation on this document without activating another worksheet.
- [Cell.GetRichTextAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getrichtextasync-method/llms.txt): Cell.GetRichTextAsync method in the TX Sheet Control .NET API: Reads detached text runs whose omitted font properties inherit the cell style.
- [Cell.GetStyleAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getstyleasync-method/llms.txt): Cell.GetStyleAsync method in the TX Sheet Control .NET API: Performs an operation on this document without activating another worksheet.
- [Cell.GetValueAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/getvalueasync-method/llms.txt): Cell.GetValueAsync method in the TX Sheet Control .NET API: Reads the calculated typed scalar from the owning worksheet.
- [Cell.RemovePictureAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/removepictureasync-method/llms.txt): Cell.RemovePictureAsync method in the TX Sheet Control .NET API: Performs an operation on this document without activating another worksheet.
- [Cell.SetBarcodeAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/setbarcodeasync-method/llms.txt): Cell.SetBarcodeAsync method in the TX Sheet Control .NET API: Sets a barcode while retaining the cell value or formula. Pass null to remove only the barcode.
- [Cell.SetCellTypeAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/setcelltypeasync-method/llms.txt): Cell.SetCellTypeAsync method in the TX Sheet Control .NET API: Sets or clears portable interactive-cell settings, retaining content and existing formatting.
- [Cell.SetFormulaAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/setformulaasync-method/llms.txt): Cell.SetFormulaAsync method in the TX Sheet Control .NET API: Writes an explicit formula; the leading equals sign is required.
- [Cell.SetHyperlinkAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/sethyperlinkasync-method/llms.txt): Cell.SetHyperlinkAsync method in the TX Sheet Control .NET API: Sets or removes a hyperlink; unsafe URL schemes are rejected by the shared model.
- [Cell.SetInputAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/setinputasync-method/llms.txt): Cell.SetInputAsync method in the TX Sheet Control .NET API: Parses entered content using the same input rules as the JavaScript editor.
- [Cell.SetNoteAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/setnoteasync-method/llms.txt): Cell.SetNoteAsync method in the TX Sheet Control .NET API: Writes or clears a legacy note using the current userName as its author.
- [Cell.SetNoteBoundsAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/setnoteboundsasync-method/llms.txt): Cell.SetNoteBoundsAsync method in the .NET API: Sets or clears the existing note's unzoomed bounds in one undoable operation, preserving its author and text.
- [Cell.SetPictureAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/setpictureasync-method/llms.txt): Cell.SetPictureAsync method in the TX Sheet Control .NET API: Performs an operation on this document without activating another worksheet.
- [Cell.SetRichTextAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/setrichtextasync-method/llms.txt): Cell.SetRichTextAsync method in the TX Sheet Control .NET API: Replaces the cell value with literal text runs; strings are never parsed as formulas.
- [Cell.SetTextAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/settextasync-method/llms.txt): Cell.SetTextAsync method in the TX Sheet Control .NET API: Writes literal text, preserving leading zeros and leading equals signs.
- [Cell.SetValueAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/setvalueasync-method/llms.txt): Cell.SetValueAsync method in the TX Sheet Control .NET API: Writes a literal JSON scalar without parsing string values as formulas.

---

## Nearby

- **Previous:** [Calculation.SetExternalWorkbookAsync Method](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/calculation/setexternalworkbookasync-method/llms.txt)
- **Next:** [Cell.Comments Property](https://docs.textcontrol.com/tx-sheet-control/reference/dotnet-api/txtextcontrol-txsheetcontrol-server/cell/comments-property/llms.txt)
