7 overrides of Count
PresentationFramework (7)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
372
public override int
Count
MS\Internal\Data\CollectionViewProxy.cs (1)
286
public override int
Count
MS\Internal\Data\CompositeCollectionView.cs (1)
73
public override int
Count
MS\Internal\Data\EnumerableCollectionView.cs (1)
289
public override int
Count
System\Windows\Controls\ItemCollection.cs (1)
483
public override int
Count
System\Windows\Data\BindingListCollectionView.cs (1)
386
public override int
Count
System\Windows\Data\ListCollectionView.cs (1)
501
public override int
Count
16 references to Count
PresentationFramework (16)
MS\Internal\Data\IndexedEnumerable.cs (1)
544
value = CollectionView.
Count
;
System\Windows\Controls\ItemCollection.cs (1)
492
return _collectionView.
Count
;
System\Windows\Data\CollectionContainer.cs (1)
143
return cv.
Count
;
System\Windows\Data\CollectionView.cs (13)
436
int index =
Count
- 1;
455
int count =
Count
;
486
int count =
Count
;
549
ArgumentOutOfRangeException.ThrowIfGreaterThan(position,
Count
);
555
(position ==
Count
-1 && ecv.NewItemPlaceholderPosition == NewItemPlaceholderPosition.AtEnd)))
863
_MoveCurrentToPosition(
Count
);
950
int count = (newItem != null) ? 0 : IsEmpty ? 0 :
Count
;
1746
return (0 <= CurrentPosition && CurrentPosition <
Count
);
1782
else if (position >=
Count
)
1785
SetCurrent(null,
Count
);
1796
int lastPosition =
Count
- 1;
2019
if (
Count
== 1)
2025
if (_currentPosition <
Count
)