---
title: modeList
framework: Paravirtualized Graphics
role: symbol
role_heading: Instance Property
platforms: [Mac Catalyst 14.0+, macOS 11.0+]
path: paravirtualizedgraphics/pgdisplay/modelist
---

# modeList

The list of display modes that the virtual display supports.

## Declaration

```swift
var modeList: [PGDisplayMode] { get set }
```

## Discussion

Discussion The maximum number of display modes is 128. Setting this property updates the virtual graphics device’s supported mode list, and potentially forces it to change its current mode. The first time you set this property, the device simulates hot-plugging the display to the graphics device.
