Edytuj

Udostępnij za pośrednictwem


UITableView.IndexPathForCell(UITableViewCell) Method

Definition

Calculates the index path for the specified cell.

[Foundation.Export("indexPathForCell:")]
public virtual Foundation.NSIndexPath IndexPathForCell (UIKit.UITableViewCell cell);
abstract member IndexPathForCell : UIKit.UITableViewCell -> Foundation.NSIndexPath
override this.IndexPathForCell : UIKit.UITableViewCell -> Foundation.NSIndexPath

Parameters

cell
UITableViewCell

The UITableViewCell for which the index path is desired.

Returns

The NSIndexPath for the cell.

Attributes

Applies to