# RibbonListView.MaxVisibleRows Property

> Gets or sets a value specifying the maximum number of rows that are displayed by the RibbonListView. If the value is set to null, the number of rows is not limited and the RibbonListView's height bounds to the actual number of rows. The default value is null.

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

---

### Description

Gets or sets a value specifying the maximum number of rows that are displayed by the RibbonListView. If the value is set to null, the number of rows is not limited and the RibbonListView's height bounds to the [actual number of rows](https://docs.textcontrol.com/tx-text-control-dotnet-winforms/reference/txtextcontrol-windows-forms-ribbon/ribbonlistview/rowcount-property/llms-full.txt). The default value is null.

### Syntax

```csharp
public int? MaxVisibleRows { get; set; }
```

```vbnet
Public Property MaxVisibleRows As Integer?
```

### Examples

The following example uses `RibbonListView.MaxVisibleRows` to configure max visible rows as part of the ribbon list view workflow. The change is then applied to the active document or user interface.

```csharp
ribbonListView.MaxVisibleRows = 1;
ribbonListView.Update();
```

```vbnet
ribbonListView.MaxVisibleRows = 1
ribbonListView.Update()
```

### Remarks

If the actual number of rows is greater than the specified maximum number of rows, the RibbonListView is extended by a scroll bar to the right. Otherwise no scroll bar is displayed.

---

## Nearby

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