UITableView.IndexPathForCell(UITableViewCell) 方法

定义

计算指定 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

参数

cell
UITableViewCell

UITableViewCell需要索引路径的 。

返回

NSIndexPathcell

属性

适用于