2 writes to _regions
PresentationFramework (2)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
29
_regions
= new List<CellRegion>();
42
_regions
= (regions != null) ? new List<CellRegion>(regions) : new List<CellRegion>();
46 references to _regions
PresentationFramework (46)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (46)
106
VirtualizedCellInfoCollection removedItems = new VirtualizedCellInfoCollection(_owner,
_regions
);
107
_regions
.Clear();
156
int numRegions =
_regions
.Count;
159
CellRegion region =
_regions
[i];
183
int numRegions =
_regions
.Count;
186
if (
_regions
[i].Contains(columnIndex, rowIndex))
203
int numRegions =
_regions
.Count;
206
AddRegionToList(
_regions
[i], list);
217
return new VirtualizedCellInfoCollectionEnumerator(_owner,
_regions
, this);
225
return new VirtualizedCellInfoCollectionEnumerator(_owner,
_regions
, this);
311
int numRegions =
_regions
.Count;
315
CellRegion region =
_regions
[i];
385
return GetCellInfoFromIndex(_owner,
_regions
, index);
402
int numRegions =
_regions
.Count;
405
count +=
_regions
[i].Size;
772
int numRegions =
_regions
.Count;
775
if (!
_regions
[i].IsEmpty)
794
int numRegions =
_regions
.Count;
797
CellRegion region =
_regions
[i];
837
int numRegions =
_regions
.Count;
840
CellRegion region =
_regions
[i];
867
CellRegion region =
_regions
[i];
870
_regions
[i] = region;
881
_regions
.Add(addList[c]);
909
for (int i = 0; i <
_regions
.Count; i++)
911
CellRegion region =
_regions
[i];
925
_regions
.RemoveAt(i);
931
_regions
.InsertRange(i, remainder);
1140
_regions
.Clear();
1352
int numRegions = collection.
_regions
.Count;
1355
CellRegion region = collection.
_regions
[i];
1368
VirtualizedCellInfoCollection orig2 = new VirtualizedCellInfoCollection(c2._owner, c2.
_regions
);
1371
int numRegions = c1.
_regions
.Count;
1374
CellRegion region = c1.
_regions
[i];
1379
numRegions = orig2.
_regions
.Count;
1382
CellRegion region = orig2.
_regions
[i];
1399
if (
_regions
.Count == 1)
1401
CellRegion region =
_regions
[0];
1467
CellRegion firstRegion =
_regions
[0];
1490
VirtualizedCellInfoCollection delta = new VirtualizedCellInfoCollection(_owner,
_regions
);
1493
_regions
.Clear();
1494
_regions
.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount));
1507
int numRegions =
_regions
.Count;
1510
if (
_regions
[i].Intersects(rowRegion))
1533
int numRegions =
_regions
.Count;
1536
CellRegion region =
_regions
[i];