2 writes to Top
PresentationFramework (2)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
646
Top
= region.Top;
690
Top
= Math.Min(Top, region.Top);
42 references to Top
PresentationFramework (42)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (42)
168
for (int r = region.
Top
; r <= bottom; r++)
323
return regionCount + (((rowIndex - region.
Top
) * region.Width) + columnIndex - region.Left);
591
return (x >= Left) && (y >=
Top
) && (x <= Right) && (y <= Bottom);
597
return (Left <= region.Left) && (
Top
<= region.
Top
) &&
604
Intersects(
Top
, Bottom, region.
Top
, region.Bottom);
617
int top = Math.Max(
Top
, region.
Top
);
646
Top = region.
Top
;
657
bool yMatch = (region.
Top
==
Top
) && (region.Height == Height);
662
int start = xMatch ?
Top
: Left;
664
int compareStart = xMatch ? region.
Top
: region.Left;
690
Top = Math.Min(
Top
, region.
Top
);
723
if (
Top
< region.
Top
)
726
remainder.Add(new CellRegion(Left,
Top
, Width, region.
Top
-
Top
));
732
int top = Math.Max(
Top
, region.
Top
);
740
int top = Math.Max(
Top
, region.
Top
);
810
if (region.
Top
< top)
812
top = region.
Top
;
1002
AddRegion(keptRegion.
Top
+ 1, keptRegion.Left, keptRegion.Height, keptRegion.Width, /* notify = */ false);
1034
AddRegion(keptRegion.
Top
- 1, keptRegion.Left, keptRegion.Height, keptRegion.Width, /* notify = */ false);
1090
AddRegion(keptRegion.
Top
- 1, keptRegion.Left, keptRegion.Height, keptRegion.Width, /* notify = */ false);
1118
AddRegion(keptRegion.
Top
+ 1, keptRegion.Left, keptRegion.Height, keptRegion.Width, /* notify = */ false);
1175
AddRegion(keptRegion.
Top
, keptRegion.Left + 1, keptRegion.Height, keptRegion.Width, /* notify = */ false);
1222
AddRegion(keptRegion.
Top
, keptRegion.Left - 1, keptRegion.Height, keptRegion.Width, /* notify = */ false);
1281
AddRegion(keptRegion.
Top
, keptRegion.Left - 1, keptRegion.Height, keptRegion.Width, /* notify = */ false);
1296
AddRegion(movedRegion.
Top
, newIndex, movedRegion.Height, movedRegion.Width, /* notify = */ false);
1308
AddRegion(keptRegion.
Top
, keptRegion.Left + 1, keptRegion.Height, keptRegion.Width, /* notify = */ false);
1363
AddRegion(region.
Top
, region.Left, region.Height, region.Width);
1382
c2.RemoveRegion(region.
Top
, region.Left, region.Height, region.Width);
1390
c1.RemoveRegion(region.
Top
, region.Left, region.Height, region.Width);
1475
RemoveAllButRegion(firstRegion.
Top
, firstRegion.Left, 1, 1);
1599
rowIndex = region.
Top
+ (index / region.Width);
1643
for (int rowIndex = region.
Top
; rowIndex <= region.Bottom; rowIndex++)