30 references to InternalCount
PresentationFramework (30)
src\Framework\System\Windows\Data\ListCollectionView.cs (30)
138
SetCurrent(null,
InternalCount
);
153
if (newPosition <
InternalCount
&& (newItem = InternalItemAt(newPosition)) != NewItemPlaceholder)
210
if (position < -1 || position >
InternalCount
)
216
object proposedCurrentItem = (0 <= position && position <
InternalCount
) ? InternalItemAt(position) : null;
515
return
InternalCount
;
524
get { return (
InternalCount
== 0); }
585
oldIndex =
InternalCount
- 1;
607
oldIndex =
InternalCount
- 1;
622
newIndex =
InternalCount
;
630
newIndex =
InternalCount
- 1;
819
position = UsesLocalArray ?
InternalCount
- 1 : _newItemIndex;
825
position =
InternalCount
- 2;
867
fromIndex = UsesLocalArray ?
InternalCount
- 1 : _newItemIndex;
873
fromIndex =
InternalCount
- 2;
1108
if (index >=
InternalCount
|| !System.Windows.Controls.ItemsControl.EqualsEx(item, GetItemAt(index)))
2199
return
InternalCount
- 1;
2209
return
InternalCount
- 1;
2217
return
InternalCount
- 2;
2246
if (index ==
InternalCount
- 1)
2269
if (index ==
InternalCount
- 1)
2273
if (index ==
InternalCount
-2)
2502
get { return (0 <= CurrentPosition && CurrentPosition <
InternalCount
); }
2654
int lastPosition =
InternalCount
- 1; // OK if last is -1
2683
? 0 :
InternalCount
- 1;
2697
? 1 : UsesLocalArray ?
InternalCount
- 2 : index;
2783
return
InternalCount
- 1;
2787
return
InternalCount
- 2;
2837
if (
InternalCount
== 1)
2845
if (newPosition <
InternalCount
)
2853
SetCurrent(null,
InternalCount
);