---
title: minimumVisibleRowCount
framework: Notification Center
role: symbol
role_heading: Instance Property
platforms: [macOS 10.10+]
path: notificationcenter/ncwidgetlistviewcontroller/minimumvisiblerowcount
---

# minimumVisibleRowCount

The minimum number of visible rows to display.

## Declaration

```swift
var minimumVisibleRowCount: Int { get set }
```

## Discussion

Discussion Set this property to ensure that the widget’s list displays a minimum number of rows. The default value of this property is 0. If the value of minimumVisibleRowCount is nonzero and the number of items in contents is greater than this value, the list view controller displays the minimum number of rows and adds a “Show More…” button.

## See Also

### Customizing the List Appearance

- [hasDividerLines](notificationcenter/ncwidgetlistviewcontroller/hasdividerlines.md)
