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

InvalidateCell() public method

Invalidates the Cell located at the specified row and column indicies
public InvalidateCell ( int row, int column ) : void
row int The row index of the Cell to be invalidated
column int The column index of the Cell to be invalidated
return void
        public void InvalidateCell(int row, int column)
        {
            Rectangle cellRect = this.CellRect(row, column);

            if (cellRect == Rectangle.Empty)
            {
                return;
            }

            if (cellRect.IntersectsWith(this.CellDataRect))
            {
                this.Invalidate(Rectangle.Intersect(this.CellDataRect, cellRect), false);
            }
        }

Same methods

Table::InvalidateCell ( Cell cell ) : void
Table::InvalidateCell ( XPTable.Models.CellPos cellPos ) : void
Table