Exemplo n.º 1
0
		/// <summary>
		/// Insert the specified number of Columns at the specified position
		/// </summary>
		public void InsertRange(int startIndex, int count)
		{
			GridColumn[] columns = new GridColumn[count];
			for (int i = 0; i < columns.Length; i++)
				columns[i] = CreateColumn();

			InsertRange(startIndex, columns);
			this.Grid.SpannedCellReferences.MoveRightSpannedRanges(startIndex, count);
			this.Grid.SpannedCellReferences.ExpandSpannedColumns(startIndex, count);
		}
Exemplo n.º 2
0
 public Cells.ICell this[GridColumn column]
 {
     get
     {
         Cells.ICell cell;
         if (mCells.TryGetValue(column, out cell))
             return cell;
         else
             return null;
     }
     set
     {
         mCells[column] = value;
     }
 }