# ContextualTabGroup.ContextualTabs Property

> Gets a list of all RibbonTab objects contained in this group.

- **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.ContextualTabs Property
- **388 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/contextualtabs-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/contextualtabs-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/contextualtabs-property/llms-full.txt

---

### Description

Gets a list of all [RibbonTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontab/llms-full.txt) objects contained in this group.

### Syntax

```csharp
public ContextualTabCollection ContextualTabs { get; }
```

```vbnet
Public ReadOnly Property ContextualTabs As ContextualTabCollection
```

### Examples

The following example iterates through the contextual tabs collection and processes each ribbon tab.

```csharp
foreach (TXTextControl.Windows.Forms.Ribbon.RibbonTab ribbonTab in contextualTabGroup.ContextualTabs)
{
    ribbonTab.Text = "Quarterly results";
}
```

```vbnet
For Each ribbonTab As TXTextControl.Windows.Forms.Ribbon.RibbonTab In contextualTabGroup.ContextualTabs
    ribbonTab.Text = "Quarterly results"
Next
```

### Limitations

Read only.

---

## Nearby

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