UIKit.UITableViewDelegate.ShouldIndentWhileEditing Method
Whether the row specified by indexPath should be indented while the table is in edit mode.

Syntax

[Foundation.Export("tableView:shouldIndentWhileEditingRowAtIndexPath:")]
public virtual bool ShouldIndentWhileEditing (UITableView tableView, Foundation.NSIndexPath indexPath)

Parameters

tableView
Table view that contains the row.
indexPath
Location of the row.

Returns

true if the row's contents should be indented, otherwise false.

Remarks

If this property is not implemented the default is true and the row is indented while the table view is in edit mode.

This method is used to force a row's content to be indented while the containing table view is in edit mode, regardless of whether the row itself is displaying edit controls. Being indented means the row content 'lines up' with other rows that may be displaying edit controls.

This type of indenting is not related to UITableViewSource.IndentationLevel(UITableView, Foundation.NSIndexPath) which is used to indent row contents to represent a hierarchical relationship between rows.

Requirements

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