11 instantiations of CellRegion
PresentationFramework (11)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (11)
620return new CellRegion(left, top, right - left + 1, bottom - top + 1); 726remainder.Add(new CellRegion(Left, Top, Width, region.Top - Top)); 734remainder.Add(new CellRegion(Left, top, region.Left - Left, bottom - top + 1)); 742remainder.Add(new CellRegion(region.Right + 1, top, Right - region.Right, bottom - top + 1)); 748remainder.Add(new CellRegion(Left, region.Bottom + 1, Width, Bottom - region.Bottom)); 766get { return new CellRegion(0, 0, 0, 0); } 841addList.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount)); 915CellRegion removeRegion = new CellRegion(columnIndex, rowIndex, columnCount, rowCount); 1501_regions.Add(new CellRegion(columnIndex, rowIndex, columnCount, rowCount)); 1512CellRegion rowRegion = new CellRegion(0, rowIndex, _owner.Columns.Count, 1); 1537CellRegion rowRegion = new CellRegion(0, rowIndex, _owner.Columns.Count, 1);
72 references to CellRegion
PresentationFramework (72)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (72)
34_regions = new List<CellRegion>(); 40private VirtualizedCellInfoCollection(DataGrid owner, List<CellRegion> regions) 47_regions = (regions != null) ? new List<CellRegion>(regions) : new List<CellRegion>(); 164CellRegion region = _regions[i]; 238public VirtualizedCellInfoCollectionEnumerator(DataGrid owner, List<CellRegion> regions, VirtualizedCellInfoCollection collection) 241_regions = new List<CellRegion>(regions); 299private List<CellRegion> _regions; 320CellRegion region = _regions[i]; 595public bool Contains(CellRegion region) 601public bool Intersects(CellRegion region) 612public CellRegion Intersection(CellRegion region) 633public bool Union(CellRegion region) 708public bool Remainder(CellRegion region, out List<CellRegion> remainder) 721remainder = new List<CellRegion>(); 764public static CellRegion Empty 804CellRegion region = _regions[i]; 840List<CellRegion> addList = new List<CellRegion>(); 847CellRegion region = _regions[i]; 850CellRegion subRegion = addList[c]; 851List<CellRegion> remainder; 874CellRegion region = _regions[i]; 901List<CellRegion> removeList = null; 910private void RemoveRegion(int rowIndex, int columnIndex, int rowCount, int columnCount, ref List<CellRegion> removeList) 915CellRegion removeRegion = new CellRegion(columnIndex, rowIndex, columnCount, rowCount); 918CellRegion region = _regions[i]; 919CellRegion intersection = region.Intersection(removeRegion); 925removeList = new List<CellRegion>(); 934List<CellRegion> remainder; 984List<CellRegion> keepRegions = null; 1001CellRegion keptRegion = keepRegions[i]; 1012List<CellRegion> keepRegions = null; 1013List<CellRegion> removedRegions = null; 1033CellRegion keptRegion = keepRegions[i]; 1052List<CellRegion> removedRegions = null; 1068List<CellRegion> slideRegions = null; 1069List<CellRegion> movedRegions = null; 1089CellRegion keptRegion = slideRegions[i]; 1105CellRegion movedRegion = movedRegions[i]; 1117CellRegion keptRegion = slideRegions[i]; 1157List<CellRegion> keepRegions = null; 1174CellRegion keptRegion = keepRegions[i]; 1200List<CellRegion> keepRegions = null; 1201List<CellRegion> removedRegions = null; 1221CellRegion keptRegion = keepRegions[i]; 1240List<CellRegion> removedRegions = null; 1259List<CellRegion> slideRegions = null; 1260List<CellRegion> movedRegions = null; 1280CellRegion keptRegion = slideRegions[i]; 1295CellRegion movedRegion = movedRegions[i]; 1307CellRegion keptRegion = slideRegions[i]; 1319internal RemovedCellInfoCollection(DataGrid owner, List<CellRegion> regions, DataGridColumn column) 1325internal RemovedCellInfoCollection(DataGrid owner, List<CellRegion> regions, object item) 1362CellRegion region = collection._regions[i]; 1381CellRegion region = c1._regions[i]; 1389CellRegion region = orig2._regions[i]; 1408CellRegion region = _regions[0]; 1417List<CellRegion> removeList = new List<CellRegion>(); 1474CellRegion firstRegion = _regions[0]; 1493List<CellRegion> removeList = null; 1512CellRegion rowRegion = new CellRegion(0, rowIndex, _owner.Columns.Count, 1); 1537CellRegion rowRegion = new CellRegion(0, rowIndex, _owner.Columns.Count, 1); 1543CellRegion region = _regions[i]; 1585private static void ConvertIndexToIndexes(List<CellRegion> regions, int index, out int rowIndex, out int columnIndex) 1593CellRegion region = regions[i]; 1610private DataGridCellInfo GetCellInfoFromIndex(DataGrid owner, List<CellRegion> regions, int index) 1639private void AddRegionToList(CellRegion region, List<DataGridCellInfo> list) 1669private List<CellRegion> _regions;