UIKit.UITableView.DeleteSections Method
Deletes a section (or sections) from a table view, with an option to animate the operation.

Syntax

[Foundation.Export("deleteSections:withRowAnimation:")]
public virtual void DeleteSections (Foundation.NSIndexSet sections, UITableViewRowAnimation withRowAnimation)

Parameters

sections
A set of section identifiers to delete. If a section exists after one that is deleted, it is moved up one index location.
withRowAnimation
What type of animation to use when deleting the rows (eg. fade out or slide out from bottom).

Remarks

When this method is called inside an animation block defined by UITableView.BeginUpdates and UITableView.EndUpdates, 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