UIKit.UITableView.InsertRows Method
Inserts rows into the UIKit.UITableView.

Syntax

[Foundation.Export("insertRowsAtIndexPaths:withRowAnimation:")]
public virtual void InsertRows (Foundation.NSIndexPath[] atIndexPaths, UITableViewRowAnimation withRowAnimation)

Parameters

atIndexPaths
An array of Foundation.NSIndexPaths that indicate the desired insertion points.
withRowAnimation
What type of animation to use.

Remarks

UITableView calls the relevant UIKit.UITableViewSource methods (e.g., UITableViewSource.GetCell and related methods) immediately afterwards to get the cells and other content to display the visible rows.

When this method is called within a UITableView.BeginUpdates-UITableView.EndUpdates animation block, any insertions of rows or sections are deferred until after deletions have been processed. This happens regardless of the ordering of the insertion and deletion method calls within the animation block..

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0