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