20 references to ItemCount
PresentationFramework (20)
MS\Internal\Data\CollectionViewGroupInternal.cs (7)
132if (ItemCount > 0 && (GroupBy == null || GroupBy.GroupNames.Count == 0)) 143else if (subgroup.ItemCount > 0) 267leaves += subgroup.ItemCount; // item not in this subgroup 317result += (subgroup == null) ? 1 : subgroup.ItemCount; 335if (index < subgroup.ItemCount) 341index -= subgroup.ItemCount; 494delta += (subgroup == null) ? 1 : subgroup.ItemCount;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (3)
388if (position < group.ItemCount) 394sizeOfGroup = group.ItemCount; 404position -= group.ItemCount;
System\Windows\Controls\DataGrid.cs (1)
5643indexOfGroupBoundary += cvg.ItemCount - 1;
System\Windows\Controls\ItemContainerGenerator.cs (5)
852count += (group == null) ? 1 : group.ItemCount; 876count += group.ItemCount; 912int size = (group == null) ? 1 : group.ItemCount; 2050group.ItemCount == 0; // group is empty 3110if (group.ItemCount > 0)
System\Windows\Controls\VirtualizingStackPanel.cs (2)
1648if (index >= cvg.ItemCount) 1650index -= cvg.ItemCount;
System\Windows\Data\BindingListCollectionView.cs (1)
1678return _group.ItemCount;
System\Windows\Data\ListCollectionView.cs (1)
2352return _group.ItemCount;