Share via


IUITableViewDelegate.IndentationLevel(UITableView, NSIndexPath) Method

Definition

The indentation level for the cell at the specified indexPath.

[Foundation.Export("tableView:indentationLevelForRowAtIndexPath:")]
[Foundation.OptionalMember]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual IntPtr IndentationLevel(UIKit.UITableView tableView, Foundation.NSIndexPath indexPath);
[<Foundation.Export("tableView:indentationLevelForRowAtIndexPath:")>]
[<Foundation.OptionalMember>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member IndentationLevel : UIKit.UITableView * Foundation.NSIndexPath -> nativeint
override this.IndentationLevel : UIKit.UITableView * Foundation.NSIndexPath -> nativeint

Parameters

tableView
UITableView

Table view containing the row.

indexPath
NSIndexPath

Location of the row.

Returns

IntPtr

nativeint

Attributes

Remarks

Note that custom UITableViewCell's do not respect IndentationLevel automatically. Application developers must override LayoutSubviews().

Applies to