UIKit.UITableViewDelegate.EditingStyleForRow Method
Called for each row being displayed by the table view, to determine what editing style to use for that row.

Syntax

[Foundation.Export("tableView:editingStyleForRowAtIndexPath:")]
public virtual UITableViewCellEditingStyle EditingStyleForRow (UITableView tableView, Foundation.NSIndexPath indexPath)

Parameters

tableView
Table view that is going to be editable.
indexPath
Location of the row.

Returns

The editing style to be used for the row specified by indexPath.

Remarks

When the table view enters editing mode, this method allows the editing style to be set for each row.

If the UIKit.UITableViewCell is editable (UITableViewCell.Editing is true) but this method is not implemented, the cell gets UITableViewCellEditingStyle.Delete set for it by default.

Requirements

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