2 writes to _regions
PresentationFramework (2)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
34
_regions
= new List<CellRegion>();
47
_regions
= (regions != null) ? new List<CellRegion>(regions) : new List<CellRegion>();
46 references to _regions
PresentationFramework (46)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (46)
111
VirtualizedCellInfoCollection removedItems = new VirtualizedCellInfoCollection(_owner,
_regions
);
112
_regions
.Clear();
161
int numRegions =
_regions
.Count;
164
CellRegion region =
_regions
[i];
188
int numRegions =
_regions
.Count;
191
if (
_regions
[i].Contains(columnIndex, rowIndex))
208
int numRegions =
_regions
.Count;
211
AddRegionToList(
_regions
[i], list);
222
return new VirtualizedCellInfoCollectionEnumerator(_owner,
_regions
, this);
230
return new VirtualizedCellInfoCollectionEnumerator(_owner,
_regions
, this);
316
int numRegions =
_regions
.Count;
320
CellRegion region =
_regions
[i];
389
return GetCellInfoFromIndex(_owner,
_regions
, index);
409
int numRegions =
_regions
.Count;
412
count +=
_regions
[i].Size;
779
int numRegions =
_regions
.Count;
782
if (!
_regions
[i].IsEmpty)
801
int numRegions =
_regions
.Count;
804
CellRegion region =
_regions
[i];
844
int numRegions =
_regions
.Count;
847
CellRegion region =
_regions
[i];
874
CellRegion region =
_regions
[i];
877
_regions
[i] = region;
888
_regions
.Add(addList[c]);
916
for (int i = 0; i <
_regions
.Count; i++)
918
CellRegion region =
_regions
[i];
932
_regions
.RemoveAt(i);
938
_regions
.InsertRange(i, remainder);
1147
_regions
.Clear();
1359
int numRegions = collection.
_regions
.Count;
1362
CellRegion region = collection.
_regions
[i];
1375
VirtualizedCellInfoCollection orig2 = new VirtualizedCellInfoCollection(c2._owner, c2.
_regions
);
1378
int numRegions = c1.
_regions
.Count;
1381
CellRegion region = c1.
_regions
[i];
1386
numRegions = orig2.
_regions
.Count;
1389
CellRegion region = orig2.
_regions
[i];
1406
if (
_regions
.Count == 1)
1408
CellRegion region =
_regions
[0];
1474
CellRegion firstRegion =
_regions
[0];
1497
VirtualizedCellInfoCollection delta = new VirtualizedCellInfoCollection(_owner,
_regions
);
1500
_regions
.Clear();
1501
_regions
.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount));
1514
int numRegions =
_regions
.Count;
1517
if (
_regions
[i].Intersects(rowRegion))
1540
int numRegions =
_regions
.Count;
1543
CellRegion region =
_regions
[i];