public static NSCell CreateCell (ApplicationContext context, NSTableView table, ICellSource source, ICollection<CellView> cells, int column) { CompositeCell c = new CompositeCell (context, Orientation.Horizontal, source); foreach (var cell in cells) c.AddCell ((ICellRenderer) CreateCell (table, c, cell, column)); return c; }
public static NSCell CreateCell(ICellSource source, ICollection<CellView> cells) { CompositeCell c = new CompositeCell (Orientation.Horizontal, source); foreach (var cell in cells) c.AddCell ((ICellRenderer) CreateCell (c, cell)); return c; }
public static void UpdateCellView(CompositeCell cellView, NSTableView table, ICollection <CellView> cells, int column) { cellView.ClearCells(); foreach (var cell in cells) { cellView.AddCell((ICellRenderer)CreateCellView(table, cell, column)); } }
public static NSCell CreateCell(ICellSource source, ICollection <CellView> cells) { CompositeCell c = new CompositeCell(Orientation.Horizontal, source); foreach (var cell in cells) { c.AddCell((ICellRenderer)CreateCell(c, cell)); } return(c); }
public static CompositeCell CreateCellView(ApplicationContext context, NSTableView table, ICellSource source, ICollection <CellView> cells, int column) { CompositeCell c = new CompositeCell(context, source); foreach (var cell in cells) { c.AddCell((ICellRenderer)CreateCellView(table, cell, column)); } return(c); }
public static NSCell CreateCell(NSTableView table, ICellSource source, ICollection <CellView> cells, int column) { CompositeCell c = new CompositeCell(Orientation.Horizontal, source); foreach (var cell in cells) { c.AddCell((ICellRenderer)CreateCell(table, c, cell, column)); } return(c); }
public static NSCell CreateCell(ICellSource source, ICollection<CellView> cells) { // if (cells.Count > 1) { CompositeCell c = new CompositeCell (Orientation.Horizontal, source); foreach (var cell in cells) c.AddCell ((ICellRenderer) CreateCell (source, cell)); return c; // } else // return CreateCell (source, cells.First ()); }
public static NSCell CreateCell(ICellSource source, ICollection <CellView> cells) { // if (cells.Count > 1) { CompositeCell c = new CompositeCell(Orientation.Horizontal, source); foreach (var cell in cells) { c.AddCell((ICellRenderer)CreateCell(source, cell)); } return(c); // } else // return CreateCell (source, cells.First ()); }