# ContextualTabGroup Class

> An object of the ContextualTabGroup class represents a group of ribbon tabs which are only shown in a certain context. A Ribbon control manages a ContextualTabGroupCollection object, which is available through the ContextualTabGroups property. It contains all tab groups belonging to the ribbon.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Class
- **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
- **Inherits:** `System.ComponentModel.Component`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > ContextualTabGroup Class
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/llms-full.txt

---

## On This Page

- [Description](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/#description)
- [Syntax](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/#syntax)
- [Examples](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/#examples)
- [Members](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/#members)

---

## In This Section

- [ContextualTabGroup.BackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/backcolor-property/llms.txt): Gets or sets the background color of the group's label.
- [ContextualTabGroup Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/constructor/llms.txt): Initializes a new instance of the ContextualTabGroup class.
- [ContextualTabGroup.ContextualTabs Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/contextualtabs-property/llms.txt): Gets a list of all RibbonTab objects contained in this group.
- [ContextualTabGroup.Header Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/header-property/llms.txt): Gets or sets the group's header. The header's text is shown in the application's caption, when the group is visible.
- [ContextualTabGroup.Name Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/name-property/llms.txt): Gets or sets the group's name.
- [ContextualTabGroup.Visible Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/visible-property/llms.txt): Gets or sets the group's visibility.

---

## Nearby

- **Previous:** [TXTextControl.Windows.Forms.Ribbon Enumerations](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/enumerations/llms.txt)
- **Next:** [ContextualTabGroup.BackColor Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/contextualtabgroup/backcolor-property/llms.txt)
