public void SetColumnWidth(int width) { _cellWidth = width; // All columns in a photo table have the same width. Duplicate that single // width into an array and then pass it to the photo and caption rows. int[] widths = new int[_numCells]; for (int x = 0; x < widths.Length; ++x) { widths[x] = _cellWidth; } _photoRow.SetColumnWidths(widths); _captionRow.SetColumnWidths(widths); }