XPTable.Models.Table.IsValidCell C# (CSharp) Méthode

IsValidCell() protected méthode

Returns whether Cell at the specified row and column indexes is not null
protected IsValidCell ( int row, int column ) : bool
row int The row index of the cell
column int The column index of the cell
Résultat bool
        protected internal bool IsValidCell(int row, int column)
        {
            if (this.TableModel != null && this.ColumnModel != null)
            {
                if (row >= 0 && row < this.TableModel.Rows.Count)
                {
                    if (column >= 0 && column < this.ColumnModel.Columns.Count)
                    {
                        return (this.TableModel.Rows[row].Cells[column] != null);
                    }
                }
            }

            return false;
        }

Same methods

Table::IsValidCell ( XPTable.Models.CellPos cellPos ) : bool
Table