21 references to ItemCount
PresentationFramework (21)
MS\Internal\Data\CollectionViewGroupInternal.cs (7)
131
if (
ItemCount
> 0 && (GroupBy == null || GroupBy.GroupNames.Count == 0))
142
else if (subgroup.
ItemCount
> 0)
260
leaves += subgroup.
ItemCount
; // item not in this subgroup
310
result += (subgroup == null) ? 1 : subgroup.
ItemCount
;
328
if (index < subgroup.
ItemCount
)
334
index -= subgroup.
ItemCount
;
484
delta += (subgroup == null) ? 1 : subgroup.
ItemCount
;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (3)
375
if (position < group.
ItemCount
)
381
sizeOfGroup = group.
ItemCount
;
391
position -= group.
ItemCount
;
System\Windows\Controls\DataGrid.cs (1)
5602
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
;
2041
group.
ItemCount
== 0; // group is empty
3105
if (group.
ItemCount
> 0)
System\Windows\Controls\VirtualizingStackPanel.cs (2)
1636
if (index >= cvg.
ItemCount
)
1638
index -= cvg.
ItemCount
;
System\Windows\Data\BindingListCollectionView.cs (1)
1658
return _group.
ItemCount
;
System\Windows\Data\CollectionViewGroup.cs (1)
143
OnPropertyChanged(new PropertyChangedEventArgs(nameof(
ItemCount
)));
System\Windows\Data\ListCollectionView.cs (1)
2328
return _group.
ItemCount
;