# StatusBarViewGenerator.PageCounterText Property

> Gets or sets the text in the 'Page counter' area of the status bar.

- **Product:** TX Text Control .NET Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 21.0
- **Namespace:** `TXTextControl.ServerVisualisation`
- **Package:** `TXTextControl.TextControl.ASP.SDK` (assembly `TXTextControl.Server.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Server.dll` from the setup
- **Path:** TX Text Control .NET Server > Reference > TXTextControl.ServerVisualization > StatusBarViewGenerator.PageCounterText Property
- **436 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/pagecountertext-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/pagecountertext-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/pagecountertext-property/llms-full.txt

---

### Description

Gets or sets the text in the 'Page counter' area of the status bar.

### Syntax

```csharp
public string PageCounterText { get; set; }
```

```vbnet
Public Property PageCounterText As String
```

### Examples

The following example uses `StatusBarViewGenerator.PageCounterText` to configure page counter text as part of the status bar view generator workflow. The configured value is checked before the workflow continues.

```csharp
statusBarViewGenerator.PageCounterText = "Quarterly results";
if (!string.IsNullOrWhiteSpace(statusBarViewGenerator.PageCounterText))
{
    Console.WriteLine($"Page Counter Text: {statusBarViewGenerator.PageCounterText}");
}
```

```vbnet
statusBarViewGenerator.PageCounterText = "Quarterly results"
If Not String.IsNullOrWhiteSpace(statusBarViewGenerator.PageCounterText) Then
    Console.WriteLine($"Page Counter Text: {statusBarViewGenerator.PageCounterText}")
End If
```

---

## Nearby

- **Previous:** [StatusBarViewGenerator.LineText Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/linetext-property/llms-full.txt)
- **Next:** [StatusBarViewGenerator.PageText Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/pagetext-property/llms-full.txt)
