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

IsCellEnabled() public method

Returns whether the Cell at the specified CellPos is able to respond to user interaction
public IsCellEnabled ( XPTable.Models.CellPos cellpos ) : bool
cellpos XPTable.Models.CellPos A CellPos that specifies the Cell to check
return bool
        public bool IsCellEnabled(CellPos cellpos)
        {
            // don't bother if the cell doesn't exists or the cell's
            // column is not visible
            if (!this.IsValidCell(cellpos) || !this.ColumnModel.Columns[cellpos.Column].Visible)
            {
                return false;
            }

            return (this.TableModel[cellpos].Enabled &&
                this.ColumnModel.Columns[cellpos.Column].Enabled);
        }

Same methods

Table::IsCellEnabled ( int row, int column ) : bool
Table