iOS Guides | Samples

UIKit.UIDropInteraction Class

An implementation of IUIInteraction used for a drop interaction.

See Also: UIDropInteraction

Syntax

[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

Requirements

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

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.
[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
DelegateIUIDropInteractionDelegate. An instance of the UIKit.IUIDropInteractionDelegate model class which acts as the class delegate.
[read-only]
ViewUIView. Gets the view that owns the interaction.

Public Methods

DidMoveToView(UIView)
Method that is called after the interaction is added to the provided view.
WillMoveToView(UIView)
Method that is called just before the interaction is added to the provided view.

Protected Methods

override
Dispose(Boolean)
Releases the resources used by the UIDropInteraction object.