# TextControlSettings.TableGridLines Property

> Determines wether table grid lines are shown in the editor or not.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 23.0
- **Namespace:** `TXTextControl.Web.MVC`
- **Package:** `TXTextControl.Web` (assembly `TXTextControl.Web.DocumentEditor.dll`, from nuget.org, the private NuGet feed or Text Control Offline Packages)
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.Web.MVC > TextControlSettings.TableGridLines Property
- **371 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/tablegridlines-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/tablegridlines-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/tablegridlines-property/llms-full.txt

---

### Description

Determines 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:** [TextControlSettings.StatusBarColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/statusbarcolor-property/llms-full.txt)
- **Next:** [TextControlSettings.TextFieldsEditable Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-web-mvc/textcontrolsettings/textfieldseditable-property/llms-full.txt)
