XPTable.Models.Table.RaiseCellMouseLeave C# (CSharp) Method

RaiseCellMouseLeave() protected method

Raises a MouseLeave event for the Cell at the specified cell position
protected RaiseCellMouseLeave ( CellPos cellPos ) : void
cellPos CellPos The position of the Cell
return void
        protected internal void RaiseCellMouseLeave(CellPos cellPos)
        {
            if (!this.IsValidCell(cellPos))
            {
                return;
            }

            if (this.ColumnModel.GetCellRenderer(cellPos.Column) != null)
            {
                Cell cell = null;

                if (cellPos.Column < this.TableModel.Rows[cellPos.Row].Cells.Count)
                {
                    cell = this.TableModel.Rows[cellPos.Row].Cells[cellPos.Column];
                }

                CellMouseEventArgs mcea = new CellMouseEventArgs(cell, this, cellPos.Row, cellPos.Column, this.CellRect(cellPos.Row, cellPos.Column));

                this.OnCellMouseLeave(mcea);
            }
        }
Table