Share via


UICollectionView.MoveSection(IntPtr, IntPtr) Method

Definition

Moves a section from one location to another within the UICollectionView, animating as necessary.

[Foundation.Export("moveSection:toSection:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void MoveSection(IntPtr section, IntPtr newSection);
[<Foundation.Export("moveSection:toSection:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member MoveSection : nativeint * nativeint -> unit
override this.MoveSection : nativeint * nativeint -> unit

Parameters

section
IntPtr

nativeint

The index of the section to move.

newSection
IntPtr

nativeint

The new index of thesection.

Attributes

Remarks

If this method is called within the Action delegate passed to the PerformBatchUpdates(Action, UICompletionHandler) method, the animation will occur simultaneously with those of other manipulations of the UICollectionView.

Applies to