# RibbonTab Class

> The RibbonTab class represents a tab in a Ribbon. A RibbonTab can be used to organize related groups of commands in a Ribbon. The RibbonTab hosts one or more RibbonGroup instances and is the base class of predefined tabs such as the RibbonFormattingTab, RibbonInsertTab, RibbonPageLayoutTab, RibbonViewTab, RibbonProofingTab, RibbonReportingTab, RibbonTableLayoutTab, RibbonFormulaTab, RibbonFrameLayoutTab, RibbonChartLayoutTab, RibbonPermissionsTab and RibbonFormFieldsTab. A RibbonGroup then hosts controls that represent application commands. A RibbonTab is inherited from the System.Windows.Forms.TabPage class. The following describes only the properties, methods and events defined through the RibbonTab class. For a list of properties, methods and events inherited from the System.Windows.Forms.TabPage class see the .NET Framework reference.

- **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.Windows.Forms.TabPage`
- **Derived:** `TXTextControl.Windows.Forms.Ribbon.RibbonChartLayoutTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonFormFieldsTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonFormattingTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonFormulaTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonFrameLayoutTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonInsertTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonPageLayoutTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonPermissionsTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonProofingTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonReferencesTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonReportingTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonTableLayoutTab`, `TXTextControl.Windows.Forms.Ribbon.RibbonViewTab`
- **Path:** TX Text Control .NET for Windows Forms > Reference > TXTextControl.Windows.Forms.Ribbon > RibbonTab Class
- **927 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontab/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontab/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontab/llms-full.txt

---

### Description

The RibbonTab class represents a tab in a Ribbon. A RibbonTab can be used to organize related groups of commands in a Ribbon. The RibbonTab hosts one or more [RibbonGroup](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbongroup/llms-full.txt) instances and is the base class of predefined tabs such as the [RibbonFormattingTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformattingtab/llms-full.txt), [RibbonInsertTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribboninserttab/llms-full.txt), [RibbonPageLayoutTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpagelayouttab/llms-full.txt), [RibbonViewTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonviewtab/llms-full.txt), [RibbonProofingTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonproofingtab/llms-full.txt), [RibbonReportingTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonreportingtab/llms-full.txt), [RibbonTableLayoutTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontablelayouttab/llms-full.txt), [RibbonFormulaTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformulatab/llms-full.txt), [RibbonFrameLayoutTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonframelayouttab/llms-full.txt), [RibbonChartLayoutTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonchartlayouttab/llms-full.txt), [RibbonPermissionsTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonpermissionstab/llms-full.txt) and [RibbonFormFieldsTab](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonformfieldstab/llms-full.txt). A RibbonGroup then hosts controls that represent application commands. A RibbonTab is inherited from the `System.Windows.Forms.TabPage` class. The following describes only the properties, methods and events defined through the `RibbonTab` class. For a list of properties, methods and events inherited from the `System.Windows.Forms.TabPage` class see the .NET Framework reference.

### Syntax

```csharp
public class RibbonTab : TabPage
```

```vbnet
Public Class RibbonTab
    Inherits TabPage
```

### Examples

The following example creates a Ribbon Tab instance and configures its key tip setting for a document workflow.

```csharp
using TXTextControl.Windows.Forms.Ribbon.RibbonTab ribbonTab = new();
ribbonTab.KeyTip = "Quarterly report";
```

```vbnet
Dim ribbonTab As New TXTextControl.Windows.Forms.Ribbon.RibbonTab()
ribbonTab.KeyTip = "Quarterly report"
```

---

## In This Section

- [RibbonTab Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontab/constructor/llms-full.txt): Initializes a new instance of the RibbonTab class.
- [RibbonTab.KeyTip Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontab/keytip-property/llms-full.txt): Gets or sets the keyboard shortcut of the RibbonTab.
- [RibbonTab.RibbonGroups Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontab/ribbongroups-property/llms-full.txt): Gets a collection of all RibbonGroups in a RibbonTab. A RibbonGroup then hosts controls that represent application commands. The property value is of the type RibbonGroupCollection.

---

## Nearby

- **Previous:** [RibbonSplitButton Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonsplitbutton/constructor/llms-full.txt)
- **Next:** [RibbonTab Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbontab/constructor/llms-full.txt)
