7 overrides of Count
PresentationFramework (7)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (1)
374
public override int
Count
src\Framework\MS\Internal\Data\CollectionViewProxy.cs (1)
289
public override int
Count
src\Framework\MS\Internal\Data\CompositeCollectionView.cs (1)
80
public override int
Count
src\Framework\MS\Internal\Data\EnumerableCollectionView.cs (1)
292
public override int
Count
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
494
public override int
Count
src\Framework\System\Windows\Data\BindingListCollectionView.cs (1)
393
public override int
Count
src\Framework\System\Windows\Data\ListCollectionView.cs (1)
509
public override int
Count
20 references to Count
PresentationFramework (16)
src\Framework\MS\Internal\Data\IndexedEnumerable.cs (1)
553
value = CollectionView.
Count
;
src\Framework\System\Windows\Controls\ItemCollection.cs (1)
503
return _collectionView.
Count
;
src\Framework\System\Windows\Data\CollectionContainer.cs (1)
150
return cv.
Count
;
src\Framework\System\Windows\Data\CollectionView.cs (13)
444
int index =
Count
- 1;
463
int count =
Count
;
494
int count =
Count
;
556
if (position < -1 || position >
Count
)
563
(position ==
Count
-1 && ecv.NewItemPlaceholderPosition == NewItemPlaceholderPosition.AtEnd)))
872
_MoveCurrentToPosition(
Count
);
960
int count = (newItem != null) ? 0 : IsEmpty ? 0 :
Count
;
1757
return (0 <= CurrentPosition && CurrentPosition <
Count
);
1793
else if (position >=
Count
)
1796
SetCurrent(null,
Count
);
1807
int lastPosition =
Count
- 1;
2031
if (
Count
== 1)
2037
if (_currentPosition <
Count
)
System.Activities.Presentation (4)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\FromExpression\Framework\ValueEditors\ChoiceEditor.cs (4)
519
if (currentIndex < 0 || currentIndex >= this.CollectionView.
Count
- 1)
535
if (currentIndex <= 0 || currentIndex > this.CollectionView.
Count
- 1)
537
currentIndex = this.CollectionView.
Count
- 1;
782
this.ValueIndex = this.CollectionView.
Count
- 1;