Share via


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))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnimations", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action) }, Selector="addAnimations:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddCompletion", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V260) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<UIKit.UIViewAnimatingPosition>) }, Selector="addCompletion:")]
public interface IUIDragAnimating : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="UIDragAnimating", WrapperType=typeof(UIKit.UIDragAnimatingWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnimations", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action) }, Selector="addAnimations:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddCompletion", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V243) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<UIKit.UIViewAnimatingPosition>) }, Selector="addCompletion:")]
public interface IUIDragAnimating : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="UIDragAnimating", WrapperType=typeof(UIKit.UIDragAnimatingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnimations", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action) }, Selector="addAnimations:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddCompletion", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V260) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<UIKit.UIViewAnimatingPosition>) }, Selector="addCompletion:")>]
type IUIDragAnimating = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="UIDragAnimating", WrapperType=typeof(UIKit.UIDragAnimatingWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddAnimations", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDAction) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action) }, Selector="addAnimations:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="AddCompletion", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V243) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<UIKit.UIViewAnimatingPosition>) }, Selector="addCompletion:")>]
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

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
AddAnimations(Action)

Adds the specified animation action.

AddCompletion(Action<UIViewAnimatingPosition>)

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

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to