2 writes to _regions
PresentationFramework (2)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
28
_regions
= new List<CellRegion>();
41
_regions
= (regions != null) ? new List<CellRegion>(regions) : new List<CellRegion>();
46 references to _regions
PresentationFramework (46)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (46)
105
VirtualizedCellInfoCollection removedItems = new VirtualizedCellInfoCollection(_owner,
_regions
);
106
_regions
.Clear();
155
int numRegions =
_regions
.Count;
158
CellRegion region =
_regions
[i];
182
int numRegions =
_regions
.Count;
185
if (
_regions
[i].Contains(columnIndex, rowIndex))
202
int numRegions =
_regions
.Count;
205
AddRegionToList(
_regions
[i], list);
216
return new VirtualizedCellInfoCollectionEnumerator(_owner,
_regions
, this);
224
return new VirtualizedCellInfoCollectionEnumerator(_owner,
_regions
, this);
310
int numRegions =
_regions
.Count;
314
CellRegion region =
_regions
[i];
384
return GetCellInfoFromIndex(_owner,
_regions
, index);
401
int numRegions =
_regions
.Count;
404
count +=
_regions
[i].Size;
771
int numRegions =
_regions
.Count;
774
if (!
_regions
[i].IsEmpty)
793
int numRegions =
_regions
.Count;
796
CellRegion region =
_regions
[i];
836
int numRegions =
_regions
.Count;
839
CellRegion region =
_regions
[i];
866
CellRegion region =
_regions
[i];
869
_regions
[i] = region;
880
_regions
.Add(addList[c]);
908
for (int i = 0; i <
_regions
.Count; i++)
910
CellRegion region =
_regions
[i];
924
_regions
.RemoveAt(i);
930
_regions
.InsertRange(i, remainder);
1139
_regions
.Clear();
1351
int numRegions = collection.
_regions
.Count;
1354
CellRegion region = collection.
_regions
[i];
1367
VirtualizedCellInfoCollection orig2 = new VirtualizedCellInfoCollection(c2._owner, c2.
_regions
);
1370
int numRegions = c1.
_regions
.Count;
1373
CellRegion region = c1.
_regions
[i];
1378
numRegions = orig2.
_regions
.Count;
1381
CellRegion region = orig2.
_regions
[i];
1398
if (
_regions
.Count == 1)
1400
CellRegion region =
_regions
[0];
1466
CellRegion firstRegion =
_regions
[0];
1489
VirtualizedCellInfoCollection delta = new VirtualizedCellInfoCollection(_owner,
_regions
);
1492
_regions
.Clear();
1493
_regions
.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount));
1506
int numRegions =
_regions
.Count;
1509
if (
_regions
[i].Intersects(rowRegion))
1532
int numRegions =
_regions
.Count;
1535
CellRegion region =
_regions
[i];