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