iOS Guides | Samples

UIKit.UIDragPreviewParameters Class

Specifies the appearance of the view that displays the drag preview.

See Also: UIDragPreviewParameters


[Foundation.Register("UIDragPreviewParameters", true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public class UIDragPreviewParameters : NSObject, INSCopying, IDisposable


Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions:

The members of UIKit.UIDragPreviewParameters are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
Creates a new set of drag item preview parameters with the specified list of text rectangles.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

BackgroundColorUIColor. Gets or sets the background color of the drag item preview.
ClassHandleIntPtr. The handle for this class.
VisiblePathUIBezierPath. Gets or sets a Bézier path that specifies the visible area of the view for the drag item preview.

Public Methods

Copy(NSZone) : NSObject
Performs a copy of the underlying Objective-C object.