# RibbonListView.RowCount Property

> Gets the number of rows in this RibbonListView.

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

---

### Description

Gets the number of rows in this RibbonListView.

### Syntax

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

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

### Examples

The following example includes the row count value in application diagnostics. The created object is then available to the surrounding document workflow.

```csharp
Console.WriteLine($"Row Count: {ribbonListView.RowCount}");
Console.WriteLine("Ribbon List View is ready for use.");
```

```vbnet
Console.WriteLine($"Row Count: {ribbonListView.RowCount}")
Console.WriteLine("Ribbon List View is ready for use.")
```

### Limitations

Read only.

---

## Nearby

- **Previous:** [RibbonListView.RibbonListViewItems Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/ribbonlistviewitems-property/llms-full.txt)
- **Next:** [RibbonListView.RowHeight Property](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/rowheight-property/llms-full.txt)
