public override UITableViewCell GetCell(UITableView tv) { var cell = tv.DequeueReusableCell("splitbuttonelement") as SplitButtonCell; if (cell == null) cell = new SplitButtonCell(); cell.SetButtons(_items); cell.SeparatorInset = UIEdgeInsets.Zero; return cell; }
public override UITableViewCell GetCell(UITableView tv) { var cell = tv.DequeueReusableCell("splitbuttonelement") as SplitButtonCell; if (cell == null) { cell = new SplitButtonCell(); cell.SelectionStyle = UITableViewCellSelectionStyle.None; cell.SeparatorInset = UIEdgeInsets.Zero; cell.BackgroundColor = tv.SeparatorColor; } cell.SetButtons(tv, _buttons); return cell; }
public override UITableViewCell GetCell(UITableView tv) { var cell = tv.DequeueReusableCell("splitbuttonelement") as SplitButtonCell; if (cell == null) { cell = new SplitButtonCell(); } cell.SetButtons(_items); cell.SeparatorInset = UIEdgeInsets.Zero; return(cell); }
public override UITableViewCell GetCell(UITableView tv) { var cell = tv.DequeueReusableCell("splitbuttonelement") as SplitButtonCell; if (cell == null) { cell = new SplitButtonCell(_buttons.Count); cell.SelectionStyle = UITableViewCellSelectionStyle.None; cell.SeparatorInset = UIEdgeInsets.Zero; cell.BackgroundColor = tv.SeparatorColor; } cell.SetButtons(_buttons); return(cell); }