2 types derived from VirtualizedCellInfoCollection
PresentationFramework (2)
src\Framework\System\Windows\Controls\SelectedCellsCollection.cs (1)
36internal sealed class SelectedCellsCollection : VirtualizedCellInfoCollection
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (1)
1317private class RemovedCellInfoCollection : VirtualizedCellInfoCollection
7 instantiations of VirtualizedCellInfoCollection
PresentationFramework (7)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (7)
56return new VirtualizedCellInfoCollection(owner, null); 111VirtualizedCellInfoCollection removedItems = new VirtualizedCellInfoCollection(_owner, _regions); 867VirtualizedCellInfoCollection delta = new VirtualizedCellInfoCollection(_owner, addList); 906OnRemove(new VirtualizedCellInfoCollection(_owner, removeList)); 1375VirtualizedCellInfoCollection orig2 = new VirtualizedCellInfoCollection(c2._owner, c2._regions); 1430OnRemove(new VirtualizedCellInfoCollection(_owner, removeList)); 1497VirtualizedCellInfoCollection delta = new VirtualizedCellInfoCollection(_owner, _regions);
27 references to VirtualizedCellInfoCollection
PresentationFramework (27)
src\Framework\System\Windows\Controls\DataGrid.cs (7)
4153internal void OnSelectedCellsChanged(NotifyCollectionChangedAction action, VirtualizedCellInfoCollection oldItems, VirtualizedCellInfoCollection newItems) 4171VirtualizedCellInfoCollection.Xor(_pendingSelectedCells, oldItems); 4192VirtualizedCellInfoCollection.Xor(_pendingUnselectedCells, newItems); 4590private void UpdateIsSelected(VirtualizedCellInfoCollection cells, bool isSelected) 8684private VirtualizedCellInfoCollection _pendingSelectedCells; // Cells that were selected that haven't gone through SelectedCellsChanged 8685private VirtualizedCellInfoCollection _pendingUnselectedCells; // Cells that were unselected that haven't gone through SelectedCellsChanged
src\Framework\System\Windows\Controls\SelectedCellsChangedEventArgs.cs (4)
61internal SelectedCellsChangedEventArgs(DataGrid owner, VirtualizedCellInfoCollection addedCells, VirtualizedCellInfoCollection removedCells) 63_addedCells = (addedCells != null) ? addedCells : VirtualizedCellInfoCollection.MakeEmptyCollection(owner); 64_removedCells = (removedCells != null) ? removedCells : VirtualizedCellInfoCollection.MakeEmptyCollection(owner);
src\Framework\System\Windows\Controls\SelectedCellsCollection.cs (2)
76protected override void OnCollectionChanged(NotifyCollectionChangedAction action, VirtualizedCellInfoCollection oldItems, VirtualizedCellInfoCollection newItems)
src\Framework\System\Windows\Controls\VirtualizedCellInfoCollection.cs (14)
54internal static VirtualizedCellInfoCollection MakeEmptyCollection(DataGrid owner) 111VirtualizedCellInfoCollection removedItems = new VirtualizedCellInfoCollection(_owner, _regions); 238public VirtualizedCellInfoCollectionEnumerator(DataGrid owner, List<CellRegion> regions, VirtualizedCellInfoCollection collection) 302private VirtualizedCellInfoCollection _collection; 435private void OnAdd(VirtualizedCellInfoCollection newItems) 443private void OnRemove(VirtualizedCellInfoCollection oldItems) 451protected virtual void OnCollectionChanged(NotifyCollectionChangedAction action, VirtualizedCellInfoCollection oldItems, VirtualizedCellInfoCollection newItems) 867VirtualizedCellInfoCollection delta = new VirtualizedCellInfoCollection(_owner, addList); 1357internal void Union(VirtualizedCellInfoCollection collection) 1373internal static void Xor(VirtualizedCellInfoCollection c1, VirtualizedCellInfoCollection c2) 1375VirtualizedCellInfoCollection orig2 = new VirtualizedCellInfoCollection(c2._owner, c2._regions); 1497VirtualizedCellInfoCollection delta = new VirtualizedCellInfoCollection(_owner, _regions);