2 writes to Top
PresentationFramework (2)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (2)
638Top = region.Top; 682Top = Math.Min(Top, region.Top);
42 references to Top
PresentationFramework (42)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (42)
162for (int r = region.Top; r <= bottom; r++) 317return regionCount + (((rowIndex - region.Top) * region.Width) + columnIndex - region.Left); 583return (x >= Left) && (y >= Top) && (x <= Right) && (y <= Bottom); 589return (Left <= region.Left) && (Top <= region.Top) && 596Intersects(Top, Bottom, region.Top, region.Bottom); 609int top = Math.Max(Top, region.Top); 638Top = region.Top; 649bool yMatch = (region.Top == Top) && (region.Height == Height); 654int start = xMatch ? Top : Left; 656int compareStart = xMatch ? region.Top : region.Left; 682Top = Math.Min(Top, region.Top); 715if (Top < region.Top) 718remainder.Add(new CellRegion(Left, Top, Width, region.Top - Top)); 724int top = Math.Max(Top, region.Top); 732int top = Math.Max(Top, region.Top); 802if (region.Top < top) 804top = region.Top; 994AddRegion(keptRegion.Top + 1, keptRegion.Left, keptRegion.Height, keptRegion.Width, /* notify = */ false); 1026AddRegion(keptRegion.Top - 1, keptRegion.Left, keptRegion.Height, keptRegion.Width, /* notify = */ false); 1082AddRegion(keptRegion.Top - 1, keptRegion.Left, keptRegion.Height, keptRegion.Width, /* notify = */ false); 1110AddRegion(keptRegion.Top + 1, keptRegion.Left, keptRegion.Height, keptRegion.Width, /* notify = */ false); 1167AddRegion(keptRegion.Top, keptRegion.Left + 1, keptRegion.Height, keptRegion.Width, /* notify = */ false); 1214AddRegion(keptRegion.Top, keptRegion.Left - 1, keptRegion.Height, keptRegion.Width, /* notify = */ false); 1273AddRegion(keptRegion.Top, keptRegion.Left - 1, keptRegion.Height, keptRegion.Width, /* notify = */ false); 1288AddRegion(movedRegion.Top, newIndex, movedRegion.Height, movedRegion.Width, /* notify = */ false); 1300AddRegion(keptRegion.Top, keptRegion.Left + 1, keptRegion.Height, keptRegion.Width, /* notify = */ false); 1355AddRegion(region.Top, region.Left, region.Height, region.Width); 1374c2.RemoveRegion(region.Top, region.Left, region.Height, region.Width); 1382c1.RemoveRegion(region.Top, region.Left, region.Height, region.Width); 1467RemoveAllButRegion(firstRegion.Top, firstRegion.Left, 1, 1); 1591rowIndex = region.Top + (index / region.Width); 1635for (int rowIndex = region.Top; rowIndex <= region.Bottom; rowIndex++)