共用方式為


UITableViewDelegate.AccessoryButtonTapped(UITableView, NSIndexPath) 方法

定義

當使用者點選位於 indexPath 的資料列上的 DetailDisclosureButton 配件時呼叫。

[Foundation.Export("tableView:accessoryButtonTappedForRowWithIndexPath:")]
public virtual void AccessoryButtonTapped (UIKit.UITableView tableView, Foundation.NSIndexPath indexPath);
abstract member AccessoryButtonTapped : UIKit.UITableView * Foundation.NSIndexPath -> unit
override this.AccessoryButtonTapped : UIKit.UITableView * Foundation.NSIndexPath -> unit

參數

tableView
UITableView

包含已點選之資料列/儲存格配件的資料表檢視。

indexPath
NSIndexPath

資料表檢視中資料列的位置。

屬性

備註

這個方法通常應該會顯示與所選資料列相關的新檢視。

適用於