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