IUIDragDropSession Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface for querying drag-and-drop capabilities and state.
[Foundation.Protocol(Name="UIDragDropSession", WrapperType=typeof(UIKit.UIDragDropSessionWrapper))]
[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 IUIDragDropSession : IDisposable, ObjCRuntime.INativeObject
type IUIDragDropSession = interface
interface INativeObject
interface IDisposable
- Derived
- Attributes
- Implements
Properties
AllowsMoveOperation |
Gets a Boolean value that tells whether the session can move items within a single app. |
Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
Items |
Gets the drag items that are in the session. |
RestrictedToDraggingApplication |
Gets a Boolean value that tells whether the drag activity is confined to the originating app. |
Methods
CanLoadObjects(Class) |
Returns a Boolean value that tells whether the session can load objects of the specified class. |
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. |
LocationInView(UIView) |
Returns the location of the drag-drop activity in the coordinate frame of the specified |
Extension Methods
CanLoadObjects(IUIDragDropSession, Type) |
Returns |