Modifier

Partager via


UICollectionView.MoveSection(nint, nint) Method

Definition

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

[Foundation.Export("moveSection:toSection:")]
public virtual void MoveSection (nint section, nint newSection);
abstract member MoveSection : nint * nint -> unit
override this.MoveSection : nint * nint -> unit

Parameters

section
System.System.IntPtr System.nativeint

The index of the section to move.

newSection
System.System.IntPtr System.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