---
title: WKOpenPanelParameters
framework: webkit
role: symbol
role_heading: Class
path: webkit/wkopenpanelparameters
---

# WKOpenPanelParameters

The configuration details of a file upload control in your web content.

## Declaration

```swift
@MainActor class WKOpenPanelParameters
```

## Overview

Overview Use a WKOpenPanelParameters to determine the configuration of a file upload control. You don’t create this object directly. Instead, a web view creates one and passes it to the webView(_:runOpenPanelWith:initiatedByFrame:completionHandler:) method of its UI delegate object when it displays a file upload control.

## Topics

### Configuring the panel parameters

- [allowsMultipleSelection](webkit/wkopenpanelparameters/allowsmultipleselection.md)
- [allowsDirectories](webkit/wkopenpanelparameters/allowsdirectories.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [Sendable](swift/sendable.md)

## See Also

### Displaying an upload panel

- [webView(_:runOpenPanelWith:initiatedByFrame:completionHandler:)](webkit/wkuidelegate/webview(_:runopenpanelwith:initiatedbyframe:completionhandler:).md)
