SourceGrid.RangeRegion.ContainsRow C# (CSharp) Method

ContainsRow() public method

Indicates if the specified row is selected
public ContainsRow ( int p_Row ) : bool
p_Row int
return bool
        public virtual bool ContainsRow(int p_Row)
        {
            if (IsEmpty())
                return false;

            //Range
            for (int i = 0; i < m_RangeCollection.Count; i++)
            {
                if (m_RangeCollection[i].ContainsRow(p_Row))
                    return true;
            }

            return false;
        }