iOS Guides | Samples

UIKit.UIDropInteraction Class

An implementation of IUIInteraction used for a drop interaction.

See Also: UIDropInteraction


[Foundation.Register("UIDropInteraction", 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 UIDropInteraction : NSObject, IDisposable, IUIInteraction


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

The members of UIKit.UIDropInteraction are listed below.

See Also: NSObject

Public Constructors

Creates a new drop interaction with the provided delegate.

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

AllowsSimultaneousDropSessionsBoolean. Gets or sets a Boolean value that controls whether the interaction supports multiple simultaneous drop sessions.
ClassHandleIntPtr. The handle for this class.
DelegateIUIDropInteractionDelegate. An instance of the UIKit.IUIDropInteractionDelegate model class which acts as the class delegate.
ViewUIView. Gets the view that owns the interaction.

Public Methods

Method that is called after the interaction is added to the provided view.
Method that is called just before the interaction is added to the provided view.

Protected Methods

Releases the resources used by the UIDropInteraction object.