mono touch中重置UITableView选中行

有不明白的地方欢迎入群 347636249 探讨

/// <summary>

/// 重置UITableView选中行
/// </summary>
/// <param name="rowindex">要选中的行索引.</param>
public void SetTableSelectRow(int rowindex)
{
      NSIndexPath indexPath = NSIndexPath.FromRowSection (rowindex, 0);
      TBCourseView.SelectRow (indexPath, true, UITableViewScrollPosition.None);
}

你可能感兴趣的:(NSIndexPath,FromRowSection,SelectRow)