11 instantiations of CellRegion
PresentationFramework (11)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (11)
612return new CellRegion(left, top, right - left + 1, bottom - top + 1); 718remainder.Add(new CellRegion(Left, Top, Width, region.Top - Top)); 726remainder.Add(new CellRegion(Left, top, region.Left - Left, bottom - top + 1)); 734remainder.Add(new CellRegion(region.Right + 1, top, Right - region.Right, bottom - top + 1)); 740remainder.Add(new CellRegion(Left, region.Bottom + 1, Width, Bottom - region.Bottom)); 758get { return new CellRegion(0, 0, 0, 0); } 833addList.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount)); 907CellRegion removeRegion = new CellRegion(columnIndex, rowIndex, columnCount, rowCount); 1493_regions.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount)); 1504CellRegion rowRegion = new CellRegion(0, rowIndex, _owner.Columns.Count, 1); 1529CellRegion rowRegion = new CellRegion(0, rowIndex, _owner.Columns.Count, 1);
72 references to CellRegion
PresentationFramework (72)
System\Windows\Controls\VirtualizedCellInfoCollection.cs (72)
28_regions = new List<CellRegion>(); 34private VirtualizedCellInfoCollection(DataGrid owner, List<CellRegion> regions) 41_regions = (regions != null) ? new List<CellRegion>(regions) : new List<CellRegion>(); 158CellRegion region = _regions[i]; 232public VirtualizedCellInfoCollectionEnumerator(DataGrid owner, List<CellRegion> regions, VirtualizedCellInfoCollection collection) 235_regions = new List<CellRegion>(regions); 293private List<CellRegion> _regions; 314CellRegion region = _regions[i]; 587public bool Contains(CellRegion region) 593public bool Intersects(CellRegion region) 604public CellRegion Intersection(CellRegion region) 625public bool Union(CellRegion region) 700public bool Remainder(CellRegion region, out List<CellRegion> remainder) 713remainder = new List<CellRegion>(); 756public static CellRegion Empty 796CellRegion region = _regions[i]; 832List<CellRegion> addList = new List<CellRegion>(); 839CellRegion region = _regions[i]; 842CellRegion subRegion = addList[c]; 843List<CellRegion> remainder; 866CellRegion region = _regions[i]; 893List<CellRegion> removeList = null; 902private void RemoveRegion(int rowIndex, int columnIndex, int rowCount, int columnCount, ref List<CellRegion> removeList) 907CellRegion removeRegion = new CellRegion(columnIndex, rowIndex, columnCount, rowCount); 910CellRegion region = _regions[i]; 911CellRegion intersection = region.Intersection(removeRegion); 917removeList = new List<CellRegion>(); 926List<CellRegion> remainder; 976List<CellRegion> keepRegions = null; 993CellRegion keptRegion = keepRegions[i]; 1004List<CellRegion> keepRegions = null; 1005List<CellRegion> removedRegions = null; 1025CellRegion keptRegion = keepRegions[i]; 1044List<CellRegion> removedRegions = null; 1060List<CellRegion> slideRegions = null; 1061List<CellRegion> movedRegions = null; 1081CellRegion keptRegion = slideRegions[i]; 1097CellRegion movedRegion = movedRegions[i]; 1109CellRegion keptRegion = slideRegions[i]; 1149List<CellRegion> keepRegions = null; 1166CellRegion keptRegion = keepRegions[i]; 1192List<CellRegion> keepRegions = null; 1193List<CellRegion> removedRegions = null; 1213CellRegion keptRegion = keepRegions[i]; 1232List<CellRegion> removedRegions = null; 1251List<CellRegion> slideRegions = null; 1252List<CellRegion> movedRegions = null; 1272CellRegion keptRegion = slideRegions[i]; 1287CellRegion movedRegion = movedRegions[i]; 1299CellRegion keptRegion = slideRegions[i]; 1311internal RemovedCellInfoCollection(DataGrid owner, List<CellRegion> regions, DataGridColumn column) 1317internal RemovedCellInfoCollection(DataGrid owner, List<CellRegion> regions, object item) 1354CellRegion region = collection._regions[i]; 1373CellRegion region = c1._regions[i]; 1381CellRegion region = orig2._regions[i]; 1400CellRegion region = _regions[0]; 1409List<CellRegion> removeList = new List<CellRegion>(); 1466CellRegion firstRegion = _regions[0]; 1485List<CellRegion> removeList = null; 1504CellRegion rowRegion = new CellRegion(0, rowIndex, _owner.Columns.Count, 1); 1529CellRegion rowRegion = new CellRegion(0, rowIndex, _owner.Columns.Count, 1); 1535CellRegion region = _regions[i]; 1577private static void ConvertIndexToIndexes(List<CellRegion> regions, int index, out int rowIndex, out int columnIndex) 1585CellRegion region = regions[i]; 1602private DataGridCellInfo GetCellInfoFromIndex(DataGrid owner, List<CellRegion> regions, int index) 1631private void AddRegionToList(CellRegion region, List<DataGridCellInfo> list) 1661private List<CellRegion> _regions;