# TableRow.AllowPageBreak Property

> Gets or sets a value specifying how the table row is formatted at page breaks. The property value is True, if the table row can be formatted across page breaks. The property value is False, if the table row must not be formatted across page breaks.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 12.0
- **Namespace:** `TXTextControl`
- **Package:** `TXTextControl.TextControl.Core.SDK` (assembly `TXTextControl.Core.dll`, from the private NuGet feed or Text Control Offline Packages)
- **Package:** `TXTextControl.TextControl.ASP.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 Server > Reference > TXTextControl > TableRow.AllowPageBreak Property
- **492 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablerow/allowpagebreak-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablerow/allowpagebreak-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablerow/allowpagebreak-property/llms-full.txt

---

### Description

Gets or sets a value specifying how the table row is formatted at page breaks. The property value is True, if the table row can be formatted across page breaks. The property value is False, if the table row must not be formatted across page breaks.

### Syntax

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

```vbnet
Public Property AllowPageBreak As Boolean
```

### Examples

The following example creates a small report table and works with its structure by using `TableRow.AllowPageBreak`.

```csharp
textControl.Tables.Add(3, 3, 10);
Table table = textControl.Tables.GetItem(10);
TableRow tableRow = table.Rows[1];

tableRow.AllowPageBreak = false;
tableRow.Select();
```

```vbnet
textControl.Tables.Add(3, 3, 10)
Dim table As Table = textControl.Tables.GetItem(10)
Dim tableRow As TableRow = table.Rows(1)

tableRow.AllowPageBreak = False
tableRow.Select()
```

---

## Nearby

- **Previous:** [TableRow Class](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablerow/llms-full.txt)
- **Next:** [TableRow.CellFormat Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol/tablerow/cellformat-property/llms-full.txt)
