2 writes to _regions
PresentationFramework (2)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
33
_regions
= new List<CellRegion>();
46
_regions
= (regions != null) ? new List<CellRegion>(regions) : new List<CellRegion>();
46 references to _regions
PresentationFramework (46)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (46)
110
VirtualizedCellInfoCollection removedItems = new VirtualizedCellInfoCollection(_owner,
_regions
);
111
_regions
.Clear();
160
int numRegions =
_regions
.Count;
163
CellRegion region =
_regions
[i];
187
int numRegions =
_regions
.Count;
190
if (
_regions
[i].Contains(columnIndex, rowIndex))
207
int numRegions =
_regions
.Count;
210
AddRegionToList(
_regions
[i], list);
221
return new VirtualizedCellInfoCollectionEnumerator(_owner,
_regions
, this);
229
return new VirtualizedCellInfoCollectionEnumerator(_owner,
_regions
, this);
315
int numRegions =
_regions
.Count;
319
CellRegion region =
_regions
[i];
389
return GetCellInfoFromIndex(_owner,
_regions
, index);
406
int numRegions =
_regions
.Count;
409
count +=
_regions
[i].Size;
776
int numRegions =
_regions
.Count;
779
if (!
_regions
[i].IsEmpty)
798
int numRegions =
_regions
.Count;
801
CellRegion region =
_regions
[i];
841
int numRegions =
_regions
.Count;
844
CellRegion region =
_regions
[i];
871
CellRegion region =
_regions
[i];
874
_regions
[i] = region;
885
_regions
.Add(addList[c]);
913
for (int i = 0; i <
_regions
.Count; i++)
915
CellRegion region =
_regions
[i];
929
_regions
.RemoveAt(i);
935
_regions
.InsertRange(i, remainder);
1144
_regions
.Clear();
1356
int numRegions = collection.
_regions
.Count;
1359
CellRegion region = collection.
_regions
[i];
1372
VirtualizedCellInfoCollection orig2 = new VirtualizedCellInfoCollection(c2._owner, c2.
_regions
);
1375
int numRegions = c1.
_regions
.Count;
1378
CellRegion region = c1.
_regions
[i];
1383
numRegions = orig2.
_regions
.Count;
1386
CellRegion region = orig2.
_regions
[i];
1403
if (
_regions
.Count == 1)
1405
CellRegion region =
_regions
[0];
1471
CellRegion firstRegion =
_regions
[0];
1494
VirtualizedCellInfoCollection delta = new VirtualizedCellInfoCollection(_owner,
_regions
);
1497
_regions
.Clear();
1498
_regions
.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount));
1511
int numRegions =
_regions
.Count;
1514
if (
_regions
[i].Intersects(rowRegion))
1537
int numRegions =
_regions
.Count;
1540
CellRegion region =
_regions
[i];