# StatusBarViewGenerator.SectionCounterText Property

> Gets or sets the text in the 'Section 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.SectionCounterText Property
- **443 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/sectioncountertext-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/sectioncountertext-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/sectioncountertext-property/llms-full.txt

---

### Description

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

### Syntax

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

```vbnet
Public Property SectionCounterText As String
```

### Examples

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

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

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

---

## Nearby

- **Previous:** [StatusBarViewGenerator.Resolution Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/resolution-property/llms-full.txt)
- **Next:** [StatusBarViewGenerator.SectionText Property](https://docs.textcontrol.com/tx-text-control-dotnet-server/reference/txtextcontrol-servervisualization/statusbarviewgenerator/sectiontext-property/llms-full.txt)
