ZForge.Controls.XPTable.Models.Row.UpdateCellIndicies C# (CSharp) Method

UpdateCellIndicies() private method

Updates the Cell's Index property so that it matches the Cells position in the CellCollection
private UpdateCellIndicies ( int start ) : void
start int The index to start updating from
return void
        internal void UpdateCellIndicies(int start)
        {
            if (start == -1)
            {
                start = 0;
            }

            for (int i = start; i < this.Cells.Count; i++)
            {
                this.Cells[i].InternalIndex = i;
            }
        }