共用方式為


UITableViewDelegate_Extensions.WillDisplay 方法

定義

表示指定 indexPath 上的儲存格即將顯示。

public static void WillDisplay (this UIKit.IUITableViewDelegate This, UIKit.UITableView tableView, UIKit.UITableViewCell cell, Foundation.NSIndexPath indexPath);
static member WillDisplay : UIKit.IUITableViewDelegate * UIKit.UITableView * UIKit.UITableViewCell * Foundation.NSIndexPath -> unit

參數

This
IUITableViewDelegate

這個擴充方法運作所在的 實例。

tableView
UITableView

包含資料列的資料表檢視。

cell
UITableViewCell

要用來繪製資料列的儲存格檢視。

indexPath
NSIndexPath

資料列的位置。

適用於