Upravit

Sdílet prostřednictvím


IUIDragAnimating Interface

Definition

Interface for adding custom preview animations for lift, drop, and cancellation, along with the standard drag and drop animations.

[Foundation.Protocol(Name="UIDragAnimating", WrapperType=typeof(UIKit.UIDragAnimatingWrapper))]
[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 IUIDragAnimating : IDisposable, ObjCRuntime.INativeObject
type IUIDragAnimating = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

For example, developers can use this class to dim out or highlight other UI elements during a drag and drop operation.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

AddAnimations(Action)

Adds the specified animation action.

AddCompletion(Action<UIViewAnimatingPosition>)

Adds the specified completion block to run when the animation ends.

Applies to