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