Edit

Bagikan melalui


UITableViewDelegate_Extensions.IndentationLevel Method

Definition

The indentation level for the cell at the specified indexPath.

public static nint IndentationLevel (this UIKit.IUITableViewDelegate This, UIKit.UITableView tableView, Foundation.NSIndexPath indexPath);
static member IndentationLevel : UIKit.IUITableViewDelegate * UIKit.UITableView * Foundation.NSIndexPath -> nint

Parameters

This
IUITableViewDelegate

The instance on which this extension method operates.

tableView
UITableView

Table view containing the row.

indexPath
NSIndexPath

Location of the row.

Returns

System.System.IntPtr System.nativeint

Remarks

Note that custom UITableViewCell's do not respect IndentationLevel automatically. Application developers must override M:UIKit.UITableViewController.LayoutSubviews*.

Applies to