15 references to TotalCount
PresentationFramework (15)
MS\Internal\AppModel\JournalNavigationScope.cs (1)
361for (int i = 0; i < journal.TotalCount; i++)
MS\Internal\Navigation\JournalEntryStack.cs (1)
112while ((_next >= 0) && (_next < _journal.TotalCount))
System\Windows\Navigation\Journal.cs (10)
128if (_currentEntryIndex >= 0 && _currentEntryIndex < TotalCount) 279if (_currentEntryIndex > -1 && _currentEntryIndex < TotalCount) 327if (_currentEntryIndex >= TotalCount) 438for (int i = 0; i < TotalCount; i++) 459for (int i = TotalCount - 1; i >= 0; --i) 488Debug.Assert(index < TotalCount && index >= 0, "Invalid index passed to RemoveEntryInternal"); 513for (int i = TotalCount - 1; i >= 0; i--) 585if (index >= TotalCount) 608return _currentEntryIndex >= 0 && _currentEntryIndex <= TotalCount 609&& _uncommittedCurrentIndex >= 0 && _uncommittedCurrentIndex <= TotalCount;
System\Windows\Navigation\NavigationService.cs (3)
3776if (parentIndex != _noParentPage && parentIndex < journal.TotalCount && !IsDisposed) 3790if (parentIndex < journal.TotalCount) 3869while (journalEntryIndex < journal.TotalCount)