20 references to ItemCount
PresentationFramework (20)
src\Framework\MS\Internal\Data\CollectionViewGroupInternal.cs (7)
135if (ItemCount > 0 && (GroupBy == null || GroupBy.GroupNames.Count == 0)) 146else if (subgroup.ItemCount > 0) 270leaves += subgroup.ItemCount; // item not in this subgroup 320result += (subgroup == null) ? 1 : subgroup.ItemCount; 338if (index < subgroup.ItemCount) 344index -= subgroup.ItemCount; 497delta += (subgroup == null) ? 1 : subgroup.ItemCount;
src\Framework\System\Windows\Automation\Peers\ItemAutomationPeer.cs (3)
351if (position < group.ItemCount) 357sizeOfGroup = group.ItemCount; 367position -= group.ItemCount;
src\Framework\System\Windows\Controls\DataGrid.cs (1)
5648indexOfGroupBoundary += cvg.ItemCount - 1;
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (5)
860count += (group == null) ? 1 : group.ItemCount; 884count += group.ItemCount; 920int size = (group == null) ? 1 : group.ItemCount; 2058group.ItemCount == 0; // group is empty 3118if (group.ItemCount > 0)
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (2)
1599if (index >= cvg.ItemCount) 1601index -= cvg.ItemCount;
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
1685return _group.ItemCount;
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
2363return _group.ItemCount;