# MiniToolbar.RibbonGroups Property

> Gets a collection of all ribbon groups in a MiniToolbar. A RibbonGroup then hosts controls that represent application commands. The property value is of the type RibbonGroupCollection.

- **Product:** TX Text Control .NET for Windows Forms
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 25.0
- **Namespace:** `TXTextControl`
- **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 > MiniToolbar.RibbonGroups Property
- **429 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbar/ribbongroups-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbar/ribbongroups-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbar/ribbongroups-property/llms-full.txt

---

### Description

Gets a collection of all ribbon groups in a MiniToolbar. A [RibbonGroup](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbongroup/llms-full.txt) then hosts controls that represent application commands. The property value is of the type [RibbonGroupCollection](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbongroupcollection/llms-full.txt).

### Syntax

```csharp
public RibbonGroupCollection RibbonGroups { get; }
```

```vbnet
Public ReadOnly Property RibbonGroups As RibbonGroupCollection
```

### Examples

The following example iterates through the ribbon groups collection and processes each ribbon group.

```csharp
foreach (TXTextControl.Windows.Forms.Ribbon.RibbonGroup ribbonGroup in miniToolbar.RibbonGroups)
{
    ribbonGroup.Text = "Quarterly results";
}
```

```vbnet
For Each ribbonGroup As TXTextControl.Windows.Forms.Ribbon.RibbonGroup In miniToolbar.RibbonGroups
    ribbonGroup.Text = "Quarterly results"
Next
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [MiniToolbar Constructor](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbar/constructor/llms-full.txt)
- **Next:** [MiniToolbarInitializedEventArgs Class](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol/minitoolbarinitializedeventargs/llms-full.txt)
