# ContextualTabGroup.Header Property

> Gets or sets the group's header. The header's text is shown in the application's caption, when the group is visible.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 24.0
- **Namespace:** `TXTextControl.Windows.Forms.Ribbon`
- **Package:** `TXTextControl.TextControl.WinForms.SDK` (assembly `TXTextControl.Windows.Forms.dll`, from the private NuGet feed or Text Control Offline Packages)
- **.NET Framework:** reference `TXTextControl.Windows.Forms.dll` from the setup
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > ContextualTabGroup.Header Property
- **418 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/header-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/header-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/header-property/llms-full.txt

---

### Description

Gets or sets the group's header. The header's text is shown in the application's caption, when the group is visible.

### Syntax

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

```vbnet
Public Property Header As String
```

### Examples

The following example uses `ContextualTabGroup.Header` to configure header as part of the contextual tab group workflow. The configured value is checked before the workflow continues.

```csharp
contextualTabGroup.Header = "Quarterly report";
if (!string.IsNullOrWhiteSpace(contextualTabGroup.Header))
{
    Console.WriteLine($"Header: {contextualTabGroup.Header}");
}
```

```vbnet
contextualTabGroup.Header = "Quarterly report"
If Not String.IsNullOrWhiteSpace(contextualTabGroup.Header) Then
    Console.WriteLine($"Header: {contextualTabGroup.Header}")
End If
```

---

## Nearby

- **Previous:** [ContextualTabGroup.ContextualTabs Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/contextualtabs-property/llms-full.txt)
- **Next:** [ContextualTabGroup.Name Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/name-property/llms-full.txt)
