protected internal virtual void OnCellAdded(RowEventArgs e)
{
e.SetRowIndex(this.Index);
e.Cell.InternalRow = this;
e.Cell.InternalIndex = e.CellFromIndex;
e.Cell.SetSelected(false);
this.UpdateCellIndicies(e.CellFromIndex);
if (e.Cell.WordWrap)
{
this.WordWrapCellIndex = e.CellFromIndex;
this.HasWordWrapCell = true;
}
if (this.CanRaiseEvents)
{
if (this.TableModel != null)
{
this.TableModel.OnCellAdded(e);
}
if (CellAdded != null)
{
CellAdded(this, e);
}
}
}