共用方式為


UITableView.RectForRowAtIndexPath(NSIndexPath) 方法

定義

傳回指定之資料列的繪圖區域。

[Foundation.Export("rectForRowAtIndexPath:")]
public virtual CoreGraphics.CGRect RectForRowAtIndexPath (Foundation.NSIndexPath indexPath);
abstract member RectForRowAtIndexPath : Foundation.NSIndexPath -> CoreGraphics.CGRect
override this.RectForRowAtIndexPath : Foundation.NSIndexPath -> CoreGraphics.CGRect

參數

indexPath
NSIndexPath

資料表檢視中特定資料列的索引路徑。

傳回

矩形,定義資料表檢視繪製資料列的位置,如果 EmptyindexPath 無效,則為 。

屬性

適用於