# TextControl.TableGridLines Property

> Specifies or returns a value indicating wether table grid lines are shown in the editor or not.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 22.0
- **Namespace:** `TXTextControl.Web`
- **Assembly:** `TXTextControl.Web.dll`, which the TX Text Control .NET Server setup installs, for .NET Framework; in no NuGet package
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web > TextControl.TableGridLines Property
- **377 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/tablegridlines-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/tablegridlines-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/tablegridlines-property/llms-full.txt

---

### Description

Specifies or returns a value indicating wether table grid lines are shown in the editor or not.

### Syntax

```csharp
public bool TableGridLines { get; set; }
```

```vbnet
Public Property TableGridLines() As Boolean
```

### Examples

In the current ASP.NET Core integration, `TableGridLines` is configured through `TextControlSettings`. The following example sets it while creating the editor configuration.

```csharp
textControlSettings.TableGridLines = true;
if (textControlSettings.TableGridLines)
{
    Console.WriteLine("Table Grid Lines is enabled for Text Control Settings.");
}
```

```vbnet
textControlSettings.TableGridLines = True
If textControlSettings.TableGridLines Then
    Console.WriteLine("Table Grid Lines is enabled for Text Control Settings.")
End If
```

---

## Nearby

- **Previous:** [TextControl.StatusBarColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/statusbarcolor-property/llms-full.txt)
- **Next:** [TextControl.TextFieldsEditable Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web/textcontrol/textfieldseditable-property/llms-full.txt)
