UICollectionView.MoveSection(nint, nint) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.