public override UITableViewCell GetCell(UITableView tv) { var cell = tv.DequeueReusableCell(CellReuseIdentifier) as OwnerDrawnCell; if (cell == null) { cell = new OwnerDrawnCell(this, Style, CellReuseIdentifier); OnCreateCell(cell); } else { cell.Element = this; } if (Tapped != null) { cell.Accessory = UITableViewCellAccessory.DisclosureIndicator; cell.SelectionStyle = UITableViewCellSelectionStyle.Blue; } else { cell.Accessory = UITableViewCellAccessory.None; cell.SelectionStyle = UITableViewCellSelectionStyle.None; } cell.BackgroundColor = BackgroundColor; cell.Update(); return(cell); }
public override UITableViewCell GetCell (UITableView tv) { var cell = tv.DequeueReusableCell(CellReuseIdentifier) as OwnerDrawnCell; if (cell == null) { cell = new OwnerDrawnCell(this, Style, CellReuseIdentifier); OnCreateCell(cell); } else { cell.Element = this; } if (Tapped != null) { cell.Accessory = UITableViewCellAccessory.DisclosureIndicator; cell.SelectionStyle = UITableViewCellSelectionStyle.Blue; } else { cell.Accessory = UITableViewCellAccessory.None; cell.SelectionStyle = UITableViewCellSelectionStyle.None; } cell.BackgroundColor = BackgroundColor; cell.Update(); return cell; }
public override UITableViewCell GetCell (UITableView tv) { OwnerDrawnCell cell = tv.DequeueReusableCell(this.CellReuseIdentifier) as OwnerDrawnCell; if (cell == null) { cell = new OwnerDrawnCell(this.Style, this.CellReuseIdentifier); } cell.Element = this; return cell; }
public override UITableViewCell GetCell(UITableView tv) { OwnerDrawnCell cell = tv.DequeueReusableCell(this.CellReuseIdentifier) as OwnerDrawnCell; if (cell == null) { cell = new OwnerDrawnCell(this, this.Style, this.CellReuseIdentifier); cell.Update(); } return(cell); }
protected override UITableViewCell GetCellImpl(UITableView tv) { var cell = tv.DequeueReusableCell(this.CellReuseIdentifier) as OwnerDrawnCell; if (cell == null) { cell = new OwnerDrawnCell(this, this.Style, this.CellReuseIdentifier); } else { cell.Element = this; } cell.Update(); return(cell); }
protected override UITableViewCell GetCellImpl(UITableView tv) { var cell = tv.DequeueReusableCell(this.CellReuseIdentifier) as OwnerDrawnCell; if (cell == null) { cell = new OwnerDrawnCell(this, this.Style, this.CellReuseIdentifier); } else { cell.Element = this; } cell.Update(); return cell; }
public override UITableViewCell GetCell (UITableView tv) { OwnerDrawnCell cell = tv.DequeueReusableCell(this.CellReuseIdentifier) as OwnerDrawnCell; if (cell == null) { cell = new OwnerDrawnCell(this, this.Style, this.CellReuseIdentifier); cell.AutosizesSubviews = true; cell.AutoresizingMask = UIViewAutoresizing.FlexibleWidth; CellCreated(cell, cell.view); } else { cell.Element = this; } cell.Update(); return cell; }
public override UITableViewCell GetCell(UITableView tv) { OwnerDrawnCell cell = tv.DequeueReusableCell(this.CellReuseIdentifier) as OwnerDrawnCell; if (cell == null) { cell = new OwnerDrawnCell(this, this.Style, this.CellReuseIdentifier); cell.AutosizesSubviews = true; cell.AutoresizingMask = UIViewAutoresizing.FlexibleWidth; CellCreated(cell, cell.view); } else { cell.Element = this; } cell.Update(); return(cell); }
public override UITableViewCell GetCell (UITableView tv) { OwnerDrawnCell cell = tv.DequeueReusableCell(this.CellReuseIdentifier) as OwnerDrawnCell; if (cell == null) { cell = new OwnerDrawnCell(this, this.Style, this.CellReuseIdentifier) { SelectionStyle = SelectionStyle, Accessory = Accessory, }; } else { cell.Element = this; } cell.Update(); return cell; }
public override UITableViewElementCell NewCell() { Cell = new OwnerDrawnCell(this, Style, Id); return(Cell); }
public override UITableViewElementCell NewCell() { Cell = new OwnerDrawnCell(this, Style, Id); return Cell; }
public OwnerDrawnCellView(OwnerDrawnElement element, OwnerDrawnCell cell) { this.element = element; this.cell = cell; }