protected void RaiseCellLostFocus(CellPos cellPos)
{
if (!this.IsValidCell(cellPos))
{
return;
}
ICellRenderer renderer = this.ColumnModel.GetCellRenderer(cellPos.Column);
if (renderer != null)
{
Cell cell = null;
if (cellPos.Column < this.TableModel.Rows[cellPos.Row].Cells.Count)
{
cell = this.TableModel[cellPos.Row, cellPos.Column];
}
CellFocusEventArgs cfea = new CellFocusEventArgs(cell, this, cellPos.Row, cellPos.Column, this.CellRect(cellPos.Row, cellPos.Column));
this.OnCellLostFocus(cfea);
}
}