SourceGrid.RangeRegion.Remove C# (CSharp) Method

Remove() public method

Remove from the collection the specified cell
public Remove ( Position pCell ) : bool
pCell Position
return bool
        public bool Remove(Position pCell)
        {
            return Remove(new Range(pCell));
        }

Same methods

RangeRegion::Remove ( Range pRange ) : bool
RangeRegion::Remove ( RangeRegion pRange ) : bool

Usage Example

Exemplo n.º 1
0
        /// <summary>
        /// Remove all the cells excluse the specified range
        /// </summary>
        /// <param name="pRangeToLeave"></param>
        public void Clear(Range pRangeToLeave)
        {
            RangeRegion region = new RangeRegion(this);

            region.Remove(pRangeToLeave);
            Remove(region);
        }
All Usage Examples Of SourceGrid.RangeRegion::Remove