15 references to TotalCount
PresentationFramework (15)
MS\Internal\AppModel\JournalNavigationScope.cs (1)
357for (int i = 0; i < journal.TotalCount; i++)
MS\Internal\Navigation\JournalEntryStack.cs (1)
111while ((_next >= 0) && (_next < _journal.TotalCount))
System\Windows\Navigation\Journal.cs (10)
124if (_currentEntryIndex >= 0 && _currentEntryIndex < TotalCount) 275if (_currentEntryIndex > -1 && _currentEntryIndex < TotalCount) 323if (_currentEntryIndex >= TotalCount) 434for (int i = 0; i < TotalCount; i++) 455for (int i = TotalCount - 1; i >= 0; --i) 478Debug.Assert(index < TotalCount && index >= 0, "Invalid index passed to RemoveEntryInternal"); 503for (int i = TotalCount - 1; i >= 0; i--) 575if (index >= TotalCount) 598return _currentEntryIndex >= 0 && _currentEntryIndex <= TotalCount 599&& _uncommittedCurrentIndex >= 0 && _uncommittedCurrentIndex <= TotalCount;
System\Windows\Navigation\NavigationService.cs (3)
3716if (parentIndex != _noParentPage && parentIndex < journal.TotalCount && !IsDisposed) 3730if (parentIndex < journal.TotalCount) 3809while (journalEntryIndex < journal.TotalCount)