共用方式為


UITableViewRowAction.Create 方法

定義

使用指定的 styletitlehandler 建立並傳回資料表檢視資料列動作。

[Foundation.Export("rowActionWithStyle:title:handler:")]
public static UIKit.UITableViewRowAction Create (UIKit.UITableViewRowActionStyle style, string title, Action<UIKit.UITableViewRowAction,Foundation.NSIndexPath> handler);
static member Create : UIKit.UITableViewRowActionStyle * string * Action<UIKit.UITableViewRowAction, Foundation.NSIndexPath> -> UIKit.UITableViewRowAction

參數

title
String

即將加入。

這個參數可以是 null

傳回

屬性

適用於