Example #1
0
		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;
		}
Example #2
0
 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;
 }
Example #3
0
 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));
     }
 }
Example #4
0
        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);
        }
Example #5
0
        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);
        }
Example #6
0
        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);
        }
Example #7
0
 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 ());
 }
Example #8
0
        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 ());
        }