UITableViewRowAction.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建并返回具有指定 style
、 title
和 handler
的表视图行操作。
[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
参数
- handler
- Action<UITableViewRowAction,NSIndexPath>
返回
- 属性