15 references to TotalCount
PresentationFramework (15)
MS\Internal\AppModel\JournalNavigationScope.cs (1)
364
for (int i = 0; i < journal.
TotalCount
; i++)
MS\Internal\Navigation\JournalEntryStack.cs (1)
121
while ((_next >= 0) && (_next < _journal.
TotalCount
))
System\Windows\Navigation\Journal.cs (10)
136
if (_currentEntryIndex >= 0 && _currentEntryIndex <
TotalCount
)
287
if (_currentEntryIndex > -1 && _currentEntryIndex <
TotalCount
)
335
if (_currentEntryIndex >=
TotalCount
)
446
for (int i = 0; i <
TotalCount
; i++)
467
for (int i =
TotalCount
- 1; i >= 0; --i)
496
Debug.Assert(index <
TotalCount
&& index >= 0, "Invalid index passed to RemoveEntryInternal");
521
for (int i =
TotalCount
- 1; i >= 0; i--)
593
if (index >=
TotalCount
)
616
return _currentEntryIndex >= 0 && _currentEntryIndex <=
TotalCount
617
&& _uncommittedCurrentIndex >= 0 && _uncommittedCurrentIndex <=
TotalCount
;
System\Windows\Navigation\NavigationService.cs (3)
3787
if (parentIndex != _noParentPage && parentIndex < journal.
TotalCount
&& !IsDisposed)
3801
if (parentIndex < journal.
TotalCount
)
3880
while (journalEntryIndex < journal.
TotalCount
)