internal void RemoveRange(GridViewCellInfoCollection items)
 {
     foreach (GridViewCellInfo gridViewCellInfo in items)
     {
         this.Remove(gridViewCellInfo);
     }
 }
 internal void AddRange(GridViewCellInfoCollection items)
 {
     foreach (GridViewCellInfo gridViewCellInfo in items)
     {
         this.Add(gridViewCellInfo);
     }
 }
Beispiel #3
0
 public GridViewCellInfo(
     GridViewRowInfo row,
     GridViewColumn column,
     GridViewCellInfoCollection owner)
 {
     this.row    = row;
     this.column = column;
     this.owner  = owner;
 }
        internal bool HasSelectedCells(GridViewCellInfoCollection items)
        {
            bool flag = true;

            foreach (GridViewCellInfo gridViewCellInfo in items)
            {
                flag &= this.Contains(gridViewCellInfo);
            }
            return(flag);
        }
Beispiel #5
0
 internal void PersistCellInfoCollection(ref GridViewCellInfoCollection collection)
 {
     this.EnsureRowInfoState();
     if (this.rowState.Cells == null)
     {
         this.rowState.Cells = collection;
     }
     else
     {
         collection = this.rowState.Cells;
     }
 }
Beispiel #6
0
 public GridViewCellInfoCollectionEnumerator(GridViewCellInfoCollection collection)
 {
     this.collection    = collection;
     this.currentObject = (object)null;
     this.index         = -1;
 }