Share via


IUICollectionViewDropPlaceholderContext.CommitInsertion Method

Definition

Replaces the placeholder cell with dropped content.

[Foundation.Export("commitInsertionWithDataSourceUpdates:")]
[Foundation.RequiredMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool CommitInsertion(Action<Foundation.NSIndexPath> dataSourceUpdates);
[<Foundation.Export("commitInsertionWithDataSourceUpdates:")>]
[<Foundation.RequiredMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member CommitInsertion : Action<Foundation.NSIndexPath> -> bool
override this.CommitInsertion : Action<Foundation.NSIndexPath> -> bool

Parameters

dataSourceUpdates
Action<NSIndexPath>

Handler to run as the placeholder is replaced. Takes the index path where the content should drop.

Returns

Attributes

Applies to