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

IsValidColumn() public method

Returns whether a Column exists at the specified index in the Table's ColumnModel
public IsValidColumn ( int column ) : bool
column int The index of the column to check
return bool
        public bool IsValidColumn(int column)
        {
            if (this.ColumnModel == null)
            {
                return false;
            }

            return (column >= 0 && column < this.ColumnModel.Columns.Count);
        }
Table