20 references to ItemCount
PresentationFramework (20)
MS\Internal\Data\CollectionViewGroupInternal.cs (7)
130if (ItemCount > 0 && (GroupBy == null || GroupBy.GroupNames.Count == 0)) 141else if (subgroup.ItemCount > 0) 265leaves += subgroup.ItemCount; // item not in this subgroup 315result += (subgroup == null) ? 1 : subgroup.ItemCount; 333if (index < subgroup.ItemCount) 339index -= subgroup.ItemCount; 492delta += (subgroup == null) ? 1 : subgroup.ItemCount;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (3)
378if (position < group.ItemCount) 384sizeOfGroup = group.ItemCount; 394position -= group.ItemCount;
System\Windows\Controls\DataGrid.cs (1)
5640indexOfGroupBoundary += cvg.ItemCount - 1;
System\Windows\Controls\ItemContainerGenerator.cs (5)
846count += (group == null) ? 1 : group.ItemCount; 870count += group.ItemCount; 906int size = (group == null) ? 1 : group.ItemCount; 2044group.ItemCount == 0; // group is empty 3104if (group.ItemCount > 0)
System\Windows\Controls\VirtualizingStackPanel.cs (2)
1643if (index >= cvg.ItemCount) 1645index -= cvg.ItemCount;
System\Windows\Data\BindingListCollectionView.cs (1)
1673return _group.ItemCount;
System\Windows\Data\ListCollectionView.cs (1)
2346return _group.ItemCount;