21 references to ItemCount
PresentationFramework (21)
MS\Internal\Data\CollectionViewGroupInternal.cs (7)
130
if (
ItemCount
> 0 && (GroupBy == null || GroupBy.GroupNames.Count == 0))
141
else if (subgroup.
ItemCount
> 0)
259
leaves += subgroup.
ItemCount
; // item not in this subgroup
309
result += (subgroup == null) ? 1 : subgroup.
ItemCount
;
327
if (index < subgroup.
ItemCount
)
333
index -= subgroup.
ItemCount
;
483
delta += (subgroup == null) ? 1 : subgroup.
ItemCount
;
System\Windows\Automation\Peers\ItemAutomationPeer.cs (3)
374
if (position < group.
ItemCount
)
380
sizeOfGroup = group.
ItemCount
;
390
position -= group.
ItemCount
;
System\Windows\Controls\DataGrid.cs (1)
5601
indexOfGroupBoundary += cvg.
ItemCount
- 1;
System\Windows\Controls\ItemContainerGenerator.cs (5)
845
count += (group == null) ? 1 : group.
ItemCount
;
869
count += group.
ItemCount
;
905
int size = (group == null) ? 1 : group.
ItemCount
;
2040
group.
ItemCount
== 0; // group is empty
3102
if (group.
ItemCount
> 0)
System\Windows\Controls\VirtualizingStackPanel.cs (2)
1635
if (index >= cvg.
ItemCount
)
1637
index -= cvg.
ItemCount
;
System\Windows\Data\BindingListCollectionView.cs (1)
1657
return _group.
ItemCount
;
System\Windows\Data\CollectionViewGroup.cs (1)
142
OnPropertyChanged(new PropertyChangedEventArgs(nameof(
ItemCount
)));
System\Windows\Data\ListCollectionView.cs (1)
2327
return _group.
ItemCount
;