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