# RibbonGroup.RowCount Property

> Gets or sets the number of rows in the RibbonGroup.

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

---

### Description

Gets or sets the number of rows in the RibbonGroup.

### Syntax

```csharp
public int RowCount { get; set; }
```

```vbnet
Public Property RowCount As Integer
```

### Examples

The following example uses `RibbonGroup.RowCount` to configure row count as part of the ribbon group workflow. The change is then applied to the active document or user interface.

```csharp
ribbonGroup.RowCount = 1;
ribbonGroup.Update();
```

```vbnet
ribbonGroup.RowCount = 1
ribbonGroup.Update()
```

### Limitations

Valid values are 0, 1, 2 or 3.

---

## Nearby

- **Previous:** [RibbonGroup.RibbonItems Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbongroup/ribbonitems-property/llms-full.txt)
- **Next:** [RibbonGroup.ShowSeperator Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbongroup/showseperator-property/llms-full.txt)
