# TableCellFormat Class

> An instance of the TableCellFormat class represents the formatting attributes of a table cell.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl > TableCellFormat Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/#members)

---

## In This Section

- [TableCellFormat.BackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/backcolor-property/llms.txt): Gets or sets the table cell's background color.
- [TableCellFormat.BottomBorderColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/bottombordercolor-property/llms.txt): Gets or sets the color of the table cell's bottom border.
- [TableCellFormat.BottomBorderWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/bottomborderwidth-property/llms.txt): Gets or sets, in twips, the width of the table cell's bottom border.
- [TableCellFormat.BottomTextDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/bottomtextdistance-property/llms.txt): Gets or sets, in twips, the distance between the table cell's bottom border and its text.
- [TableCellFormat.LeftBorderColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/leftbordercolor-property/llms.txt): Gets or sets the color of the table cell's left border.
- [TableCellFormat.LeftBorderWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/leftborderwidth-property/llms.txt): Gets or sets, in twips, the width of the table cell's left border.
- [TableCellFormat.LeftTextDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/lefttextdistance-property/llms.txt): Gets or sets, in twips, the distance between the table cell's left border and its text.
- [TableCellFormat.NumberFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/numberformat-property/llms.txt): Gets or sets a number format for the table cell. It can be used to automatically format numbers in table cells. When a formula is defined the automatically calculated text can also be formatted with a number format. When a number format is not defined, the property's value is an empty string. The number format string has a format as described in Office Open XML File Formats - ISO/IEC 29500 - 1, Chapter: 18.8.31 Number Formats. See Formatting Text by using Number Formats for more information.
- [TableCellFormat.RightBorderColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/rightbordercolor-property/llms.txt): Gets or sets the color of the table cell's right border.
- [TableCellFormat.RightBorderWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/rightborderwidth-property/llms.txt): Gets or sets, in twips, the width of the table cell's right border.
- [TableCellFormat.RightTextDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/righttextdistance-property/llms.txt): Gets or sets, in twips, the distance between the table cell's right border and its text.
- [TableCellFormat.TextType Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/texttype-property/llms.txt): Gets or sets the text type of the table cell which determines whether the cell's text is interpreted as a number or as text When the type is Standard, the cell's text is interpreted as text and it is displayed as it is. When the type is Number, the cell's text is interpreted as a number. The period character (.) is defined as decimal separator, the comma character (,) is defined as thousands separator.
- [TableCellFormat.TopBorderColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/topbordercolor-property/llms.txt): Gets or sets the color of the table cell's top border.
- [TableCellFormat.TopBorderWidth Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/topborderwidth-property/llms.txt): Gets or sets, in twips, the width of the table cell's top border.
- [TableCellFormat.TopTextDistance Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/toptextdistance-property/llms.txt): Gets or sets, in twips, the distance between the table cell's top border and its text.
- [TableCellFormat.VerticalAlignment Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/verticalalignment-property/llms.txt): Gets or sets the vertical alignment of the text in the table cell.

---

## Nearby

- **Previous:** [TableCellCollection.Remove Method](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellcollection/remove-method/llms.txt)
- **Next:** [TableCellFormat.BackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/tablecellformat/backcolor-property/llms.txt)
