15 references to TotalCount
PresentationFramework (15)
MS\Internal\AppModel\JournalNavigationScope.cs (1)
358for (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)
125if (_currentEntryIndex >= 0 && _currentEntryIndex < TotalCount) 276if (_currentEntryIndex > -1 && _currentEntryIndex < TotalCount) 324if (_currentEntryIndex >= TotalCount) 435for (int i = 0; i < TotalCount; i++) 456for (int i = TotalCount - 1; i >= 0; --i) 479Debug.Assert(index < TotalCount && index >= 0, "Invalid index passed to RemoveEntryInternal"); 504for (int i = TotalCount - 1; i >= 0; i--) 576if (index >= TotalCount) 599return _currentEntryIndex >= 0 && _currentEntryIndex <= TotalCount 600&& _uncommittedCurrentIndex >= 0 && _uncommittedCurrentIndex <= TotalCount;
System\Windows\Navigation\NavigationService.cs (3)
3717if (parentIndex != _noParentPage && parentIndex < journal.TotalCount && !IsDisposed) 3731if (parentIndex < journal.TotalCount) 3810while (journalEntryIndex < journal.TotalCount)