7 overrides of Count
PresentationFramework (7)
MS\Internal\Controls\InnerItemCollectionView.cs (1)
371
public override int
Count
MS\Internal\Data\CollectionViewProxy.cs (1)
284
public override int
Count
MS\Internal\Data\CompositeCollectionView.cs (1)
67
public override int
Count
MS\Internal\Data\EnumerableCollectionView.cs (1)
285
public override int
Count
System\Windows\Controls\ItemCollection.cs (1)
474
public override int
Count
System\Windows\Data\BindingListCollectionView.cs (1)
381
public override int
Count
System\Windows\Data\ListCollectionView.cs (1)
495
public override int
Count
16 references to Count
PresentationFramework (16)
MS\Internal\Data\IndexedEnumerable.cs (1)
539
value = CollectionView.
Count
;
System\Windows\Controls\ItemCollection.cs (1)
483
return _collectionView.
Count
;
System\Windows\Data\CollectionContainer.cs (1)
135
return cv.
Count
;
System\Windows\Data\CollectionView.cs (13)
432
int index =
Count
- 1;
451
int count =
Count
;
482
int count =
Count
;
545
ArgumentOutOfRangeException.ThrowIfGreaterThan(position,
Count
);
551
(position ==
Count
-1 && ecv.NewItemPlaceholderPosition == NewItemPlaceholderPosition.AtEnd)))
859
_MoveCurrentToPosition(
Count
);
946
int count = (newItem != null) ? 0 : IsEmpty ? 0 :
Count
;
1742
return (0 <= CurrentPosition && CurrentPosition <
Count
);
1778
else if (position >=
Count
)
1781
SetCurrent(null,
Count
);
1792
int lastPosition =
Count
- 1;
2015
if (
Count
== 1)
2021
if (_currentPosition <
Count
)