Share via


IUICollectionViewDropPlaceholderContext Interface

Definition

Contains manages collection view placeholder information.

[Foundation.Protocol(Name="UICollectionViewDropPlaceholderContext", WrapperType=typeof(UIKit.UICollectionViewDropPlaceholderContextWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CommitInsertion", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V259) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<Foundation.NSIndexPath>) }, ReturnType=typeof(System.Boolean), Selector="commitInsertionWithDataSourceUpdates:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DeletePlaceholder", ReturnType=typeof(System.Boolean), Selector="deletePlaceholder")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetNeedsCellUpdate", Selector="setNeedsCellUpdate")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="dragItem", IsProperty=true, IsRequired=true, IsStatic=false, Name="DragItem", PropertyType=typeof(UIKit.UIDragItem), Selector="dragItem")]
public interface IUICollectionViewDropPlaceholderContext : IDisposable, UIKit.IUIDragAnimating
[Foundation.Protocol(Name="UICollectionViewDropPlaceholderContext", WrapperType=typeof(UIKit.UICollectionViewDropPlaceholderContextWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DeletePlaceholder", ReturnType=typeof(System.Boolean), Selector="deletePlaceholder")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetNeedsCellUpdate", Selector="setNeedsCellUpdate")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="dragItem", IsProperty=true, IsRequired=true, IsStatic=false, Name="DragItem", PropertyType=typeof(UIKit.UIDragItem), Selector="dragItem")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CommitInsertion", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V242) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<Foundation.NSIndexPath>) }, ReturnType=typeof(System.Boolean), Selector="commitInsertionWithDataSourceUpdates:")]
public interface IUICollectionViewDropPlaceholderContext : IDisposable, UIKit.IUIDragAnimating
[<Foundation.Protocol(Name="UICollectionViewDropPlaceholderContext", WrapperType=typeof(UIKit.UICollectionViewDropPlaceholderContextWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CommitInsertion", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V259) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<Foundation.NSIndexPath>) }, ReturnType=typeof(System.Boolean), Selector="commitInsertionWithDataSourceUpdates:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DeletePlaceholder", ReturnType=typeof(System.Boolean), Selector="deletePlaceholder")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetNeedsCellUpdate", Selector="setNeedsCellUpdate")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="dragItem", IsProperty=true, IsRequired=true, IsStatic=false, Name="DragItem", PropertyType=typeof(UIKit.UIDragItem), Selector="dragItem")>]
type IUICollectionViewDropPlaceholderContext = interface
    interface INativeObject
    interface IDisposable
    interface IUIDragAnimating
[<Foundation.Protocol(Name="UICollectionViewDropPlaceholderContext", WrapperType=typeof(UIKit.UICollectionViewDropPlaceholderContextWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="DeletePlaceholder", ReturnType=typeof(System.Boolean), Selector="deletePlaceholder")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetNeedsCellUpdate", Selector="setNeedsCellUpdate")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="dragItem", IsProperty=true, IsRequired=true, IsStatic=false, Name="DragItem", PropertyType=typeof(UIKit.UIDragItem), Selector="dragItem")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="CommitInsertion", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity1V242) }, ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.Action<Foundation.NSIndexPath>) }, ReturnType=typeof(System.Boolean), Selector="commitInsertionWithDataSourceUpdates:")>]
type IUICollectionViewDropPlaceholderContext = interface
    interface INativeObject
    interface IDisposable
    interface IUIDragAnimating
Attributes
Implements

Properties

Name Description
DragItem

Gets the drag item that is represented by the placeholder.

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
AddAnimations(Action)

Adds the specified animation action.

(Inherited from IUIDragAnimating)
AddCompletion(Action<UIViewAnimatingPosition>)

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

(Inherited from IUIDragAnimating)
CommitInsertion(Action<NSIndexPath>)

Replaces the placeholder cell with dropped content.

DeletePlaceholder()

Removes the placeholder from the view.

SetNeedsCellUpdate()

Marks the placeholder cell as requiring updated content.

Extension Methods

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

Applies to