UIKit.UITableView.SetEditing Method
Turns editing mode on or off.

Syntax

[Foundation.Export("setEditing:animated:")]
public virtual void SetEditing (bool editing, bool animated)

Parameters

editing
true to enter editing mode, false to end editing. The default is false.
animated
true to animate the transition to or from editing mode, or false to change modes immediately.

Remarks

Calling this method with editing == true, the table view enters editing mode and calls UITableViewCell.SetEditing(bool, bool) on each visible row's UIKit.UITableViewCell object.

In editing mode the cells might show

The UIKit.UITableViewSource (or UITableView.DataSource) can selectively exclude cells from editing mode by returning false from UITableViewSource.CanEditRow(UITableView, Foundation.NSIndexPath).

Requirements

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