net9.0-ios
namespace UIKit
{
    [Protocol(Name = "UIDragInteractionDelegate", WrapperType = typeof(UIDragInteractionDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillAnimateLift", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragAnimating), typeof(IUIDragSession) }, Selector = "dragInteraction:willAnimateLiftWithAnimator:session:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionWillBegin", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, Selector = "dragInteraction:sessionWillBegin:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionDidMove", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, Selector = "dragInteraction:sessionDidMove:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionWillEnd", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession), typeof(UIDropOperation) }, Selector = "dragInteraction:session:willEndWithOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionDidEnd", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession), typeof(UIDropOperation) }, Selector = "dragInteraction:session:didEndWithOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionDidTransferItems", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, Selector = "dragInteraction:sessionDidTransferItems:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillAddItems", ParameterByRef = new[] { false, false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession), typeof(UIDragItem[]), typeof(UIDragInteraction) }, Selector = "dragInteraction:session:willAddItems:forInteraction:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "WillAnimateCancel", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(UIDragItem), typeof(IUIDragAnimating) }, Selector = "dragInteraction:item:willAnimateCancelWithAnimator:")]
    [ProtocolMember(IsProperty = false, IsRequired = true, IsStatic = false, Name = "GetItemsForBeginningSession", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, ReturnType = typeof(UIDragItem[]), Selector = "dragInteraction:itemsForBeginningSession:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPreviewForLiftingItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(UIDragItem), typeof(IUIDragSession) }, ReturnType = typeof(UITargetedDragPreview), Selector = "dragInteraction:previewForLiftingItem:session:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionAllowsMoveOperation", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, ReturnType = typeof(bool), Selector = "dragInteraction:sessionAllowsMoveOperation:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionIsRestrictedToDraggingApplication", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, ReturnType = typeof(bool), Selector = "dragInteraction:sessionIsRestrictedToDraggingApplication:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "PrefersFullSizePreviews", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession) }, ReturnType = typeof(bool), Selector = "dragInteraction:prefersFullSizePreviewsForSession:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetItemsForAddingToSession", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession), typeof(CGPoint) }, ReturnType = typeof(UIDragItem[]), Selector = "dragInteraction:itemsForAddingToSession:withTouchAtPoint:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetSessionForAddingItems", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(IUIDragSession[]), typeof(CGPoint) }, ReturnType = typeof(IUIDragSession), Selector = "dragInteraction:sessionForAddingItems:withTouchAtPoint:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "GetPreviewForCancellingItem", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(UIDragInteraction), typeof(UIDragItem), typeof(UITargetedDragPreview) }, ReturnType = typeof(UITargetedDragPreview), Selector = "dragInteraction:previewForCancellingItem:withDefault:")]
    [SupportedOSPlatform("maccatalyst")]
    [SupportedOSPlatform("ios")]
    [UnsupportedOSPlatform("tvos")]
    public interface IUIDragInteractionDelegate : INativeObject, IDisposable
}
nuget.org
0.0 %
Reference this API
Upgrade Planner
0.0 %
Reference this API
Assembly Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
Help Documentation
.NET 6.0-ios6.0-maccatalyst7.0-ios7.0-maccatalyst8.0-ios8.0-maccatalyst9.0-ios9.0-maccatalyst
Xamarin iOS 0.0
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • iOS
  • Mac Catalyst
  • tvOS
  • Built-in API
  • Package-provided API

04/18/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙