UITableViewSource.RowDeselected(UITableView, NSIndexPath) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
取消选择 由 indexPath
指定的行时调用。
[Foundation.Export("tableView:didDeselectRowAtIndexPath:")]
public virtual void RowDeselected (UIKit.UITableView tableView, Foundation.NSIndexPath indexPath);
abstract member RowDeselected : UIKit.UITableView * Foundation.NSIndexPath -> unit
override this.RowDeselected : UIKit.UITableView * Foundation.NSIndexPath -> unit
参数
- tableView
- UITableView
包含行的表视图。
- indexPath
- NSIndexPath
已取消选择的行的位置。
- 属性
注解
此方法可用于在取消选择行时执行所需的任何处理,例如删除 Checkmark 附件 (如果) 显示附件。 在此类示例中,使用 RowSelected(UITableView, NSIndexPath) 显示复选标记。
在 [UITableViewDelegate] 中声明