ZForge.Controls.XPTable.Models.Row.IsCellSelected C# (CSharp) Method

IsCellSelected() public method

Returns whether the Cell at the specified index is selected
public IsCellSelected ( int index ) : bool
index int The index of the Cell in the Row's Row.CellCollection
return bool
        public bool IsCellSelected(int index)
        {
            if (this.Cells.Count == 0)
            {
                return false;
            }

            if (index < 0 || index >= this.Cells.Count)
            {
                return false;
            }

            return this.Cells[index].Selected;
        }