Upravit

Sdílet prostřednictvím


IUIDropSession Interface

Definition

Interface for accessing drop session state and loading drag items.

[Foundation.Protocol(Name="UIDropSession", WrapperType=typeof(UIKit.UIDropSessionWrapper))]
[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 interface IUIDropSession : Foundation.INSProgressReporting, IDisposable, UIKit.IUIDragDropSession
type IUIDropSession = interface
    interface INativeObject
    interface IDisposable
    interface INSProgressReporting
    interface IUIDragDropSession
Attributes
Implements

Properties

AllowsMoveOperation

Gets a Boolean value that tells whether the session can move items within a single app.

(Inherited from IUIDragDropSession)
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Items

Gets the drag items that are in the session.

(Inherited from IUIDragDropSession)
LocalDragSession

The local in-app drag session for the drop session.

ProgressIndicatorStyle

Gets or sets the style of the drop indicator.

RestrictedToDraggingApplication

Gets a Boolean value that tells whether the drag activity is confined to the originating app.

(Inherited from IUIDragDropSession)

Methods

CanLoadObjects(Class)

Returns a Boolean value that tells whether the session can load objects of the specified class.

(Inherited from IUIDragDropSession)
HasConformingItems(String[])

TReturns a Boolean value that tells whether the session contains at least one item that is described by any of the specified type identifiers.

(Inherited from IUIDragDropSession)
LoadObjects(Class, Action<INSItemProviderReading[]>)

When implemented by the developer, instantiates every object in the drop session that has the type that is specified by the parameter.

LocationInView(UIView)

Returns the location of the drag-drop activity in the coordinate frame of the specified view.

(Inherited from IUIDragDropSession)

Extension Methods

GetProgress(INSProgressReporting)
CanLoadObjects(IUIDragDropSession, Type)

Returns true if the specified session can instantiate items of the specified type.

LoadObjects<T>(IUIDropSession, Action<T[]>)

Applies to