---
title: UIDragPreviewParameters
framework: uikit
role: symbol
role_heading: Class
path: uikit/uidragpreviewparameters
---

# UIDragPreviewParameters

A set of parameters for adjusting the appearance of a drag item preview or a targeted drag item preview.

## Declaration

```swift
@MainActor class UIDragPreviewParameters
```

## Overview

Overview You can refine the appearance of a preview by providing additional parameters when creating a UIDragPreview or UITargetedDragPreview object. The parameters specify different visual aspects of the preview, including the background color and the visible area of the view associated with the preview.

## Relationships

### Inherits From

- [UIPreviewParameters](uikit/uipreviewparameters.md)

### Conforms To

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

## See Also

### Custom drag item previews

- [UIDragPreview](uikit/uidragpreview.md)
- [UIDragPreviewTarget](uikit/uidragpreviewtarget.md)
- [UITargetedDragPreview](uikit/uitargeteddragpreview.md)
